diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-04-27 13:52:30 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-04-27 13:52:30 +0200 |
commit | c1ffab72f9f2e2d0c05f698d08d79d9e69200bce (patch) | |
tree | f576a7d5c20c7e1bae0fd369af54ad0c3228dd91 | |
parent | cd31b504ab7715af3e4c16d19e441581ea1f683c (diff) | |
download | texlive-openbsd-c1ffab72f9f2e2d0c05f698d08d79d9e69200bce.tar.gz |
tlobsd: better handling of 'no '
-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 |