Skip to content

Commit 9958afe

Browse files
brdbapt
authored andcommitted
Sort pkg-create(8) options
1 parent fd4e745 commit 9958afe

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

docs/pkg-create.8

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,28 @@ command.
134134
The following options are supported by
135135
.Nm :
136136
.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.
137159
.It Fl a , Cm --all
138160
Create package tarballs from all packages installed on your system.
139161
This option is incompatible with the
@@ -143,28 +165,6 @@ or
143165
options.
144166
.It Fl e , Cm --expand-manifest
145167
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.
168168
.It Fl f Ar format , Cm --format Ar format
169169
Set
170170
.Ar format
@@ -181,6 +181,16 @@ is assumed.
181181
.Pa .pkg
182182
extension is used for all compression types.
183183
.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.
184194
.It Fl l Ar level , Cm --level Ar level
185195
Set the compression
186196
.Ar level
@@ -219,22 +229,6 @@ This option is incompatible with the
219229
or
220230
.Fl x
221231
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.
238232
.It Fl n , Cm --no-clobber
239233
Do not overwrite already existing packages.
240234
.It Fl o Ar outdir , Cm --out-dir Ar outdir
@@ -267,9 +261,6 @@ is set to
267261
.Ar yes
268262
in
269263
.Pa pkg.conf .
270-
.It Fl v , Cm --verbose
271-
Force verbose output, the opposite of
272-
.Cm --quiet .
273264
.It Fl r Ar rootdir , Cm --root-dir Ar rootdir
274265
.Ar rootdir
275266
specifies the top-level directory to be treated as the root of the
@@ -282,14 +273,23 @@ disturbing similar content already on the system.
282273
If unspecified, the default is effectively
283274
.Pa / ,
284275
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
290290
or
291-
.Qq auto
292-
to let detect the number of CPU and use it.
291+
.Fl m Ar metadatadir
292+
options.
293293
.El
294294
.\" ---------------------------------------------------------------------------
295295
.Sh MANIFEST FILE DETAILS

0 commit comments

Comments
 (0)