git: 3e93a090b5c8 - stable/14 - nanobsd: Add missing options to usage()

From: Jose Luis Duran <jlduran_at_FreeBSD.org>
Date: Mon, 16 Dec 2024 15:14:36 UTC
The branch stable/14 has been updated by jlduran:

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

commit 3e93a090b5c8f48e503cf640e67e926e6e79b31b
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2024-11-07 14:16:50 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2024-12-16 15:11:22 +0000

    nanobsd: Add missing options to usage()
    
    -B suppress installs (both kernel and world)
    -I build disk image from existing build/install
    -W suppress installworld
    
    PR:             277269
    Reviewed by:    imp, emaste
    Approved by:    emaste (mentor)
    MFC after:      1 month
    Differential Revision:  https://reviews.freebsd.org/D47475
    
    (cherry picked from commit 999f288a0eeb230d3655da94c1186ca03c0cc404)
---
 tools/tools/nanobsd/defaults.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
index 55314d7ef78d..33111a9c401f 100755
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -852,17 +852,20 @@ pprint ( ) (
 
 usage ( ) {
 	(
-	echo "Usage: $0 [-bfhiKknqvwX] [-c config_file]"
+	echo "Usage: $0 [-BbfhIiKknqvWwX] [-c config_file]"
+	echo "	-B	suppress installs (both kernel and world)"
 	echo "	-b	suppress builds (both kernel and world)"
 	echo "	-c	specify config file"
 	echo "	-f	suppress code slice extraction (implies -i)"
 	echo "	-h	print this help summary page"
+	echo "	-I	build disk image from existing build/install"
 	echo "	-i	suppress disk image build"
 	echo "	-K	suppress installkernel"
 	echo "	-k	suppress buildkernel"
 	echo "	-n	add -DNO_CLEAN to buildworld, buildkernel, etc"
 	echo "	-q	make output more quiet"
 	echo "	-v	make output more verbose"
+	echo "	-W	suppress installworld"
 	echo "	-w	suppress buildworld"
 	echo "	-X	make native-xtools"
 	) 1>&2