mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-23 11:49:16 +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")" \
|
||||
--options "" \
|
||||
-- "$@"
|
||||
) || abort
|
||||
) || exit_with_message "Failed to parse options, please check your input"
|
||||
|
||||
eval set --"$opts"
|
||||
while [[ $# -gt 0 ]]; do
|
||||
|
Loading…
Reference in New Issue
Block a user