diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-07-31 14:26:53 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-07-31 14:26:53 -0400 |
commit | 93883e62b3228071cd9d15a7e9c49a1840611b26 (patch) | |
tree | e5bf7ff717b1b19d712ef7e803763fa9a2cb2616 | |
parent | e7fc6f2452a4d348396b944df8bf5dac47281c1b (diff) | |
download | asp32-93883e62b3228071cd9d15a7e9c49a1840611b26.tar.xz |
report a useful error when no args are passed
-rw-r--r-- | asp.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -251,6 +251,9 @@ case $action in usage exit 0 ;; + '') + log_fatal 'no action specified (use -h for help)' + ;; *) log_fatal 'unknown action: %s' "$action" ;; |