From nobody Wed Aug 27 16:20:19 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cBqWR5mlhz65G8Z; Wed, 27 Aug 2025 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cBqWR4yWqz3ZBq; Wed, 27 Aug 2025 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756311619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0dpxFOak7q9otoMO3IIj2x8wD7b5PTjNgmu7Ol0C9xw=; b=aE1ClfQqT3N/CDdgiweBQID0rejtPMvjGH7jo4GbvUdyeH2OW2hEmLpShQKLfVhU+x/ddT IHtFfmPuA+CVRGxaoEaAxo0409GDvy34fSG3Z6vcyBB0NRH2+SHV4TO5/o9qERBLPY0oqc loGoE/Wj8d+Q0tMbCCzKLsV7OXLJ3E4CbqCyu5g04d5agUiTyqWKYfyF5HNK0rG9sONC94 yKrQdunnXnKlajn3er2fBp/iPCYd54GzVdpYDOeMYai+YapJZGrEg/RmZX3+XpIVGntp1K skLHUCyQQyH7Go1aNzgG5P8df7+/Du2uSdPAw78uJOQJaiEtoUnaShvWTK2mkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756311619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0dpxFOak7q9otoMO3IIj2x8wD7b5PTjNgmu7Ol0C9xw=; b=VldkXjBaAoUtw9fbjm/TF4Z4e3gJtM5w6DNWG+lXLy22cCVA2hmUlcjsnTSAg1hObAz+vS P09lP4acwre+yDdKvYyWDU/e2s6iqNblq9+apxZ34U/Vqbg2hN21P3kZhIwn46JO0AoIu8 1eQ/4kgmA514yuOSCZ2uPVSJpHzFe9NpMxDUBAJiXd6cFhs1EB5XPnqXs8qGZM/IlNyCsi tkZF2TSgmvUisZNy8zx2/3krWONgagpzOJG9rIuDggSYmLM7MQlaJgosOkwwMuBFfmWnoN nZhLGG3PkuDw2KAVsYL8XrL5lYYjmUdLjkyOn++Z5lJw00zDWT+vOcIuH6ntxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756311619; a=rsa-sha256; cv=none; b=CAIUZDXuWxsmuQeJt/KEcaYo6JJYUZ+W9nvGtCK3MBbsdSj0ZfeDkInqJCrS0fhgxLcPqj ZRoPmVPhvbSs2t3Vzz1Cie+oL3+DKKVxvTPiAmJlXMbKyZ842NYW/7oV2NHOf/POmmkzAy jxbnt3sQQxO+/oH2nbZQBSU3oLj2hTW4xJlWePYyw9j5ASqm0SBGTe+hL1SCxEw7/cCFhL pNMYU3NglbmKk+7ouXslGEpHZZvfeeTqv7glrNFrSL5vAKCpMS6sHrPll0Ebb5JDQdAq35 hwfK6bIPhsQ0VvnAmsZacXQ0UaAFKxseT1Y6Bo333hCpEVuOtknkbwKn8cKF3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cBqWR4KsNzTsh; Wed, 27 Aug 2025 16:20:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57RGKJdO093188; Wed, 27 Aug 2025 16:20:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57RGKJPL093184; Wed, 27 Aug 2025 16:20:19 GMT (envelope-from git) Date: Wed, 27 Aug 2025 16:20:19 GMT Message-Id: <202508271620.57RGKJPL093184@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: abed9ab6eaad - main - uuidgen.1: Correct SYNOPSIS, alphabetize options List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: abed9ab6eaad625ab9059d9799694876a4ae5b07 Auto-Submitted: auto-generated The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=abed9ab6eaad625ab9059d9799694876a4ae5b07 commit abed9ab6eaad625ab9059d9799694876a4ae5b07 Author: Alexander Ziaee AuthorDate: 2025-08-27 16:17:42 +0000 Commit: Alexander Ziaee 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