Date: Wed, 27 Aug 2025 16:20:19 GMT From: Alexander Ziaee <ziaee@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: abed9ab6eaad - main - uuidgen.1: Correct SYNOPSIS, alphabetize options Message-ID: <202508271620.57RGKJPL093184@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=abed9ab6eaad625ab9059d9799694876a4ae5b07 commit abed9ab6eaad625ab9059d9799694876a4ae5b07 Author: Alexander Ziaee <ziaee@FreeBSD.org> AuthorDate: 2025-08-27 16:17:42 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2025-08-27 16:17:42 +0000 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 --- bin/uuidgen/uuidgen.1 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/bin/uuidgen/uuidgen.1 b/bin/uuidgen/uuidgen.1 index 1c2e7cce91d3..f7911b408f36 100644 --- a/bin/uuidgen/uuidgen.1 +++ b/bin/uuidgen/uuidgen.1 @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508271620.57RGKJPL093184>