diff options
Diffstat (limited to 'src/prokit.sh')
-rw-r--r-- | src/prokit.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/prokit.sh b/src/prokit.sh index 9580cfa..037c233 100644 --- a/src/prokit.sh +++ b/src/prokit.sh @@ -72,7 +72,10 @@ main() load_locale load_cmds - get_options "${@}" + if ! get_options "${@}"; then + cmd_help_main >&2 + exit 1 + fi shift $(($OPTIND - 1)) if ${opt_h:-false}; then |