From 93883e62b3228071cd9d15a7e9c49a1840611b26 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 31 Jul 2014 14:26:53 -0400 Subject: report a useful error when no args are passed --- asp.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asp.in') diff --git a/asp.in b/asp.in index 6f35d67..ccb2c75 100644 --- a/asp.in +++ b/asp.in @@ -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" ;; -- cgit v1.2.3-54-g00ecf