aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-04 21:13:50 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-04 21:13:50 -0400
commitec9ee7e4085408a83f6071c596d425ec3d41be06 (patch)
tree9a0f0e5bca343350217fc43b83e08dbd24ff6174
parentadd explicit check & error message for /run/lock (diff)
downloadbuild-docbook-catalog-ec9ee7e4.tar.gz
build-docbook-catalog-ec9ee7e4.tar.bz2
build-docbook-catalog-ec9ee7e4.zip
tweak usage output to make --root argument clearer
Show that the --root option takes an explicit argument. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xbuild-docbook-catalog8
1 files changed, 4 insertions, 4 deletions
diff --git a/build-docbook-catalog b/build-docbook-catalog
index 5b6cd85..b212822 100755
--- a/build-docbook-catalog
+++ b/build-docbook-catalog
@@ -25,10 +25,10 @@ usage() {
Regenerate the XML docbook catalog under ${ROOTCONFDIR}.
Options:
- -r, --root ROOT path to work on
- -v, --verbose Be verbose
- -x, --debug Run with debugging enabled
- -h, --help This!
+ -r, --root <ROOT> Path to work on (defaults to \$ROOT)
+ -v, --verbose Be verbose
+ -x, --debug Run with debugging enabled
+ -h, --help This!
EOF
[[ $# -gt 0 ]] && eerror "$*"
exit 0