diff options
-rwxr-xr-x | lsinitcpio | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -174,9 +174,7 @@ analyze_image() { _opt_short='achlnVvx' _opt_long=('analyze' 'help' 'list' 'nocolor' 'showconfig' 'version' 'verbose' 'extract') -if ! parseopts "$_opt_short" "${_opt_long[@]}" -- "$@"; then - exit 1 -fi +parseopts "$_opt_short" "${_opt_long[@]}" -- "$@" || exit set -- "${OPTRET[@]}" unset _opt_short _opt_long OPTRET |