diff options
| author | Jose Luis Duran <jlduran@FreeBSD.org> | 2025-09-13 03:55:00 +0000 |
|---|---|---|
| committer | Jose Luis Duran <jlduran@FreeBSD.org> | 2025-09-13 03:55:00 +0000 |
| commit | d0362607b23043717baadfa33a308b0b4ae77d7c (patch) | |
| tree | a5d9ae32bc16fa0ed7b4817f653910eeade1e99d | |
| parent | d4282cfa97d695f3e5590ad330a5a0bb2cca3110 (diff) | |
nanobsd: Fix the p flag
Fix the "p" flag in the manual page.
While here, add the flag to the usage instructions.
Reviewed by: imp
Approved by: emaste (mentor)
Fixes: 90593b1bdb80 ("nanobsd: Expose do_image_prep on command line")
Differential Revision: https://reviews.freebsd.org/D52508
| -rw-r--r-- | share/man/man8/nanobsd.8 | 2 | ||||
| -rwxr-xr-x | tools/tools/nanobsd/defaults.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/man/man8/nanobsd.8 b/share/man/man8/nanobsd.8 index 8a1f44af6900..44def2503b84 100644 --- a/share/man/man8/nanobsd.8 +++ b/share/man/man8/nanobsd.8 @@ -77,7 +77,7 @@ This suppresses the normal cleanup work done before the .Cm buildworld stage and adds -DNO_CLEAN to the make command line used for each build stage (world and kernel). -.It Fl r +.It Fl p Don't prepare the image. Skip running of the customization and early customization scripts for incremental image refinement from world, kernel, or packages. diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh index 59ae8d92f4af..4c4323c4bd87 100755 --- a/tools/tools/nanobsd/defaults.sh +++ b/tools/tools/nanobsd/defaults.sh @@ -886,7 +886,7 @@ pprint ( ) ( usage ( ) { ( - echo "Usage: $0 [-BbfhIiKknqvWwX] [-c config_file]" + echo "Usage: $0 [-BbfhIiKknpqvWwX] [-c config_file]" echo " -B suppress installs (both kernel and world)" echo " -b suppress builds (both kernel and world)" echo " -c specify config file" @@ -897,6 +897,7 @@ usage ( ) { echo " -K suppress installkernel" echo " -k suppress buildkernel" echo " -n add -DNO_CLEAN to buildworld, buildkernel, etc" + echo " -p suppress preparing the image" echo " -q make output more quiet" echo " -v make output more verbose" echo " -W suppress installworld" |
