oops we should allow it to be empty

This commit is contained in:
speedie 2023-04-20 18:36:51 +02:00
parent e550f3f100
commit 3c466f2abb

View file

@ -323,6 +323,8 @@ read_args() {
;; ;;
-h|--help) remove_arg "$arg" && function=help -h|--help) remove_arg "$arg" && function=help
;; ;;
"") :
;;
*) printf "spmenu_run: Invalid argument: '%s'. If you meant to pass this to spmenu, use the '%s' option.\n" "$arg" "-a" *) printf "spmenu_run: Invalid argument: '%s'. If you meant to pass this to spmenu, use the '%s' option.\n" "$arg" "-a"
;; ;;
esac esac