git: ed5023c96c6e - main - bsdinstall.8: Fix '---jail' option in manpage

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Wed, 08 Oct 2025 09:30:45 UTC
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=ed5023c96c6e0228d4c38d89b86809c713ed3d68

commit ed5023c96c6e0228d4c38d89b86809c713ed3d68
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-10-08 09:28:03 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-10-08 09:28:03 +0000

    bsdinstall.8: Fix '---jail' option in manpage
    
    The .Fl macro implicitly adds a '-', so only use a single '-' in the
    --jail option.
    
    Fixes:  8d0a90512ee3 ("bsdinstall: Improve pkgbase handling for jails")
    MFC after:      1 day
    Reported by:    Mark Millard <marklmi@yahoo.com>
    Sponsored by:   https://www.patreon.com/bsdivy
---
 usr.sbin/bsdinstall/bsdinstall.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bsdinstall/bsdinstall.8 b/usr.sbin/bsdinstall/bsdinstall.8
index 6175d26b4fd3..ee141e1d4296 100644
--- a/usr.sbin/bsdinstall/bsdinstall.8
+++ b/usr.sbin/bsdinstall/bsdinstall.8
@@ -247,7 +247,7 @@ Extracts the distributions listed in
 .Ev DISTRIBUTIONS
 into
 .Ev BSDINSTALL_CHROOT .
-.It Cm pkgbase Op Fl --jail
+.It Cm pkgbase Op Fl -jail
 Fetch and install base system packages to
 .Ev BSDINSTALL_CHROOT .
 Packages are fetched according to repository configuration in
@@ -256,7 +256,7 @@ if set, or
 .Lk pkg.freebsd.org
 otherwise.
 If the
-.Fl --jail
+.Fl -jail
 option is passed, no kernel is installed, and the
 .Dq jail
 variant of each package set will be selected where applicable.