mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-02-17 11:46:20 +01:00
Show help info if input error
This commit is contained in:
parent
4142f3b0b9
commit
e717deaa1d
@ -141,7 +141,7 @@ opts=$(getopt \
|
|||||||
--name "$(basename "$0")" \
|
--name "$(basename "$0")" \
|
||||||
--options "" \
|
--options "" \
|
||||||
-- "$@"
|
-- "$@"
|
||||||
) || abort
|
) || exit_with_message "Failed to parse options, please check your input"
|
||||||
|
|
||||||
eval set --"$opts"
|
eval set --"$opts"
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user