aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2024-11-07 14:16:50 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2024-12-16 15:11:22 +0000
commit3e93a090b5c8f48e503cf640e67e926e6e79b31b (patch)
treec87a0043730291e3c31c3a00ad4adaf80a21ae2c
parentefefeefd43837e24c1ccb42eb67dd8906b7852ad (diff)
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)
-rwxr-xr-xtools/tools/nanobsd/defaults.sh5
1 files changed, 4 insertions, 1 deletions
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