uuidgen.1: Correct SYNOPSIS, alphabetize options
Group options that can be used together accordingly in SYNOPSIS. While here, tag SPDX and fix a parenthetical typo in EXAMPLES. MFC after: 3 days
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
.\"
|
||||
.\" SPDX-License-Identifier: BSD-2-Clause
|
||||
.\"
|
||||
.\" Copyright (c) 2002 Marcel Moolenaar
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
@@ -22,7 +25,7 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd March 1, 2023
|
||||
.Dd August 27, 2025
|
||||
.Dt UUIDGEN 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@@ -30,9 +33,7 @@
|
||||
.Nd generate universally unique identifiers
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl 1
|
||||
.Op Fl r
|
||||
.Op Fl c
|
||||
.Op Fl 1cr
|
||||
.Op Fl n Ar count
|
||||
.Op Fl o Ar filename
|
||||
.Sh DESCRIPTION
|
||||
@@ -50,8 +51,6 @@ This option only has effect if multiple identifiers are to be generated and
|
||||
instructs
|
||||
.Nm
|
||||
to not generate them in batch, but one at a time.
|
||||
.It Fl r
|
||||
This option controls creation of random UUID (version 4).
|
||||
.It Fl c
|
||||
This option controls creation of compact UUID (without hyphen).
|
||||
.It Fl n
|
||||
@@ -65,6 +64,8 @@ The upper hard limit is 2048
|
||||
Redirect output to
|
||||
.Ar filename
|
||||
instead of stdout.
|
||||
.It Fl r
|
||||
This option controls creation of random UUID (version 4).
|
||||
.El
|
||||
.Pp
|
||||
Batched generation yields a dense set of identifiers in such a way that there
|
||||
@@ -80,11 +81,11 @@ reflected in the distance between two successive identifiers.
|
||||
.Sh EXAMPLES
|
||||
Generate a batch of three UUIDs.
|
||||
Notice the similarity of the string before the first hyphen of the UUID
|
||||
(known as
|
||||
.Po known as
|
||||
.Em time_low
|
||||
in
|
||||
.Em rfc4122
|
||||
):
|
||||
.Pc :
|
||||
.Bd -literal -offset indent
|
||||
$ uuidgen -n3
|
||||
8bc44345-4d90-11ee-88c7-b42e991fc52e
|
||||
|
||||
Reference in New Issue
Block a user