diff options
-rw-r--r-- | tlobsd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,8 +18,8 @@ Known actions to \033[1mtlobsd\033[0m: | |||
18 | } | 18 | } |
19 | 19 | ||
20 | # no $cmd | 20 | # no $cmd |
21 | if [[ -z ${cmd} ]];then | 21 | if [[ -z ${cmd} ]] || [[ ${cmd} == -* ]];then |
22 | echo "$(basename $0): unknown action" | 22 | echo "$(basename $0): unknown action. Try \033[1m$(basename $0) help\033[0m." |
23 | exit 1 | 23 | exit 1 |
24 | # help | 24 | # help |
25 | elif [[ $1 == "help" ]];then | 25 | elif [[ $1 == "help" ]];then |