mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 12:43:39 +01:00
export: Allow grouping certain options (-ax)
This commit is contained in:
@@ -180,8 +180,14 @@ else
|
||||
shift
|
||||
;;
|
||||
-*)
|
||||
error_notify "[ERROR]: Unknown Option: \"${1}\""
|
||||
usage
|
||||
for _opt in $(echo ${1} | sed 's/-//g' | fold -w1); do
|
||||
case ${_opt} in
|
||||
a) AUTO=1 ;;
|
||||
x) enable_debug ;;
|
||||
*) error_exit "[ERROR]: Unknown Option: \"${1}\""
|
||||
esac
|
||||
done
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user