File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- AMVERSION=" 9.6.1-4 "
3
+ AMVERSION=" 9.6.1-5 "
4
4
5
5
# Determine main repository and branch
6
6
AMREPO=" https://raw.githubusercontent.com/ivan-hc/AM/main"
@@ -1249,10 +1249,12 @@ _use_module() {
1249
1249
1250
1250
case " $1 " in
1251
1251
' ' )
1252
+ echo " $DIVIDING_LINE "
1252
1253
echo " USAGE: $AMCLI [OPTION]"
1253
1254
echo " $AMCLI [OPTION] [ARGUMENT]"
1254
1255
echo " "
1255
1256
echo " Run the \" $AMCLI -h\" command to find out more"
1257
+ echo " $DIVIDING_LINE "
1256
1258
exit 0
1257
1259
;;
1258
1260
' about' |' -a' |\
@@ -1682,7 +1684,9 @@ case "$1" in
1682
1684
if [ -t 1 ]; then _use_help; else _use_help | sed -e ' s/\x1b\[[0-9;]*m//g' ; fi
1683
1685
;;
1684
1686
* )
1685
- exec " $AMCLIPATH "
1687
+ echo " $DIVIDING_LINE "
1688
+ echo " ERROR: unknown option \" $1 \" , run the \" $AMCLI -h\" command to find out more" | _fit
1689
+ echo " $DIVIDING_LINE "
1686
1690
;;
1687
1691
esac
1688
1692
You can’t perform that action at this time.
0 commit comments