aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-04-27 13:52:30 +0200
committerRobert Alessi <alessi@robertalessi.net>2024-04-27 13:52:30 +0200
commitc1ffab72f9f2e2d0c05f698d08d79d9e69200bce (patch)
treef576a7d5c20c7e1bae0fd369af54ad0c3228dd91
parentcd31b504ab7715af3e4c16d19e441581ea1f683c (diff)
downloadtexlive-openbsd-c1ffab72f9f2e2d0c05f698d08d79d9e69200bce.tar.gz
tlobsd: better handling of 'no '
-rw-r--r--tlobsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tlobsd b/tlobsd
index 2ca4495..13ac99c 100644
--- a/tlobsd
+++ b/tlobsd
@@ -18,8 +18,8 @@ Known actions to \033[1mtlobsd\033[0m:
18} 18}
19 19
20# no $cmd 20# no $cmd
21if [[ -z ${cmd} ]];then 21if [[ -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
25elif [[ $1 == "help" ]];then 25elif [[ $1 == "help" ]];then