@@ -134,6 +134,28 @@ command.
134
134
The following options are supported by
135
135
.Nm :
136
136
.Bl -tag -width " .Fl m Ar metadatadir"
137
+ .It Fl M Ar manifest , Cm --manifest Ar manifest
138
+ Read all of the package metadata from the
139
+ .Ar manifest
140
+ file.
141
+ This is exactly the same format as
142
+ .Pa +MANIFEST
143
+ mentioned above, but any file name can be used, and no
144
+ other file will be used to read package metadata from.
145
+ If specified, only a single package will be created.
146
+ This option is incompatible with the
147
+ .Fl m , a , g
148
+ or
149
+ .Fl x
150
+ options.
151
+ .It Fl T Ar threads
152
+ .Ar threads
153
+ represent the number of threads to use during the compression of the archive.
154
+ Set it to
155
+ .Qq 0
156
+ or
157
+ .Qq auto
158
+ to let detect the number of CPU and use it.
137
159
.It Fl a , Cm --all
138
160
Create package tarballs from all packages installed on your system.
139
161
This option is incompatible with the
143
165
options.
144
166
.It Fl e , Cm --expand-manifest
145
167
The manifest contained in pkg will be expanded to readable UCL format.
146
- .It Fl g , Cm --glob
147
- Interpret
148
- .Ar pkg-name
149
- as a shell glob pattern and create package only for installed binaries whose
150
- name match this pattern.
151
- This option is incompatible with the
152
- .Fl a , x
153
- or
154
- .Fl m Ar metadatadir
155
- options.
156
- .It Fl x , Cm --regex
157
- Like
158
- .Fl g ,
159
- but interpret
160
- .Ar pkg-name
161
- as a regular expression using the "modern" or "extended" syntax described in
162
- .Xr re_format 7 .
163
- This option is incompatible with the
164
- .Fl a , g
165
- or
166
- .Fl m Ar metadatadir
167
- options.
168
168
.It Fl f Ar format , Cm --format Ar format
169
169
Set
170
170
.Ar format
@@ -181,6 +181,16 @@ is assumed.
181
181
.Pa .pkg
182
182
extension is used for all compression types.
183
183
.Pc
184
+ .It Fl g , Cm --glob
185
+ Interpret
186
+ .Ar pkg-name
187
+ as a shell glob pattern and create package only for installed binaries whose
188
+ name match this pattern.
189
+ This option is incompatible with the
190
+ .Fl a , x
191
+ or
192
+ .Fl m Ar metadatadir
193
+ options.
184
194
.It Fl l Ar level , Cm --level Ar level
185
195
Set the compression
186
196
.Ar level
@@ -219,22 +229,6 @@ This option is incompatible with the
219
229
or
220
230
.Fl x
221
231
options.
222
- .It Fl M Ar manifest , Cm --manifest Ar manifest
223
- Read all of the package metadata from the
224
- .Ar manifest
225
- file.
226
- This is exactly the same format as
227
- .Pa +MANIFEST
228
- mentioned above, but any file name can be used, and no
229
- other file will be used to read package metadata from.
230
- If specified, only a single package will be created.
231
- This option is incompatible with the
232
- .Fl m , a , g
233
- or
234
- .Fl x
235
- options.
236
- .It Fl t Ar timestamp , Cm --timestamp
237
- Set the timestamp of the files within the archive.
238
232
.It Fl n , Cm --no-clobber
239
233
Do not overwrite already existing packages.
240
234
.It Fl o Ar outdir , Cm --out-dir Ar outdir
@@ -267,9 +261,6 @@ is set to
267
261
.Ar yes
268
262
in
269
263
.Pa pkg.conf .
270
- .It Fl v , Cm --verbose
271
- Force verbose output, the opposite of
272
- .Cm --quiet .
273
264
.It Fl r Ar rootdir , Cm --root-dir Ar rootdir
274
265
.Ar rootdir
275
266
specifies the top-level directory to be treated as the root of the
@@ -282,14 +273,23 @@ disturbing similar content already on the system.
282
273
If unspecified, the default is effectively
283
274
.Pa / ,
284
275
the actual root directory.
285
- .It Fl T Ar threads
286
- .Ar threads
287
- represent the number of threads to use during the compression of the archive.
288
- Set it to
289
- .Qq 0
276
+ .It Fl t Ar timestamp , Cm --timestamp
277
+ Set the timestamp of the files within the archive.
278
+ .It Fl v , Cm --verbose
279
+ Force verbose output, the opposite of
280
+ .Cm --quiet .
281
+ .It Fl x , Cm --regex
282
+ Like
283
+ .Fl g ,
284
+ but interpret
285
+ .Ar pkg-name
286
+ as a regular expression using the "modern" or "extended" syntax described in
287
+ .Xr re_format 7 .
288
+ This option is incompatible with the
289
+ .Fl a , g
290
290
or
291
- .Qq auto
292
- to let detect the number of CPU and use it .
291
+ .Fl m Ar metadatadir
292
+ options .
293
293
.El
294
294
.\" ---------------------------------------------------------------------------
295
295
.Sh MANIFEST FILE DETAILS
0 commit comments