mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 01:02:36 +01:00
updating Usage output and standardizing target variable
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
. /usr/local/etc/bastille/bastille.conf
|
. /usr/local/etc/bastille/bastille.conf
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo -e "${COLOR_RED}Usage: bastille stop [ALL|glob].${COLOR_RESET}"
|
echo -e "${COLOR_RED}Usage: bastille stop TARGET${COLOR_RESET}"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -48,6 +48,7 @@ if [ $# -gt 1 ] || [ $# -lt 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
TARGET="${1}"
|
TARGET="${1}"
|
||||||
|
shift
|
||||||
|
|
||||||
if [ "${TARGET}" = 'ALL' ]; then
|
if [ "${TARGET}" = 'ALL' ]; then
|
||||||
JAILS=$(jls name)
|
JAILS=$(jls name)
|
||||||
|
|||||||
Reference in New Issue
Block a user