Merge pull request #1080 from BastilleBSD/tschettervictor-patch-1

docs: Update tags
This commit is contained in:
tschettervictor
2025-05-18 11:40:50 -06:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ The ``tags`` sub-command adds, removes or lists arbitrary tags on your jail(s).
.. code-block:: shell
ishmael ~ # bastille tags help
Usage: bastille tags TARGET [add|delete|list] [tag1,tag2]
Usage: bastille tags [option(s)] TARGET [add|delete|list] [tag1,tag2]
Options:
-x | --debug Enable debug mode.

View File

@@ -34,7 +34,7 @@
. /usr/local/share/bastille/common.sh
usage() {
error_notify "Usage: bastille tags TARGET [add|delete|list] [tag1,tag2]"
error_notify "Usage: bastille tags [option(s)] TARGET [add|delete|list] [tag1,tag2]"
cat << EOF
Options:
@@ -48,9 +48,9 @@ EOF
# Handle options.
while [ "$#" -gt 0 ]; do
case "${1}" in
-h|--help|help)
usage
;;
-h|--help|help)
usage
;;
-x|--debug)
enable_debug
shift
@@ -125,4 +125,4 @@ for _jail in ${JAILS}; do
bastille_running_jobs "${bastille_process_limit}"
done
wait
wait