Update tags.sh

This commit is contained in:
tschettervictor
2025-05-18 11:40:30 -06:00
committed by GitHub
parent db46ebe153
commit 9300399746

View File

@@ -34,7 +34,7 @@
. /usr/local/share/bastille/common.sh . /usr/local/share/bastille/common.sh
usage() { 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 cat << EOF
Options: Options:
@@ -48,9 +48,9 @@ EOF
# Handle options. # Handle options.
while [ "$#" -gt 0 ]; do while [ "$#" -gt 0 ]; do
case "${1}" in case "${1}" in
-h|--help|help) -h|--help|help)
usage usage
;; ;;
-x|--debug) -x|--debug)
enable_debug enable_debug
shift shift
@@ -125,4 +125,4 @@ for _jail in ${JAILS}; do
bastille_running_jobs "${bastille_process_limit}" bastille_running_jobs "${bastille_process_limit}"
done done
wait wait