diff --git a/docs/chapters/subcommands/tags.rst b/docs/chapters/subcommands/tags.rst index 45b62bd6..c08e56b4 100644 --- a/docs/chapters/subcommands/tags.rst +++ b/docs/chapters/subcommands/tags.rst @@ -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. diff --git a/usr/local/share/bastille/tags.sh b/usr/local/share/bastille/tags.sh index 28ef556b..1f4d7cf8 100644 --- a/usr/local/share/bastille/tags.sh +++ b/usr/local/share/bastille/tags.sh @@ -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 \ No newline at end of file +wait