summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2023-04-18 10:48:11 -0400
committerAndrew Cady <d@cryptonomic.net>2023-04-18 10:48:11 -0400
commita1d4d87f480e932960d037e6401db87b92fdf4f6 (patch)
tree9ee6f9ff2673969b61a046f9a87e49b02278bf75
parent3db59345749db3edc45097962a3ade98211aa937 (diff)
subcommand "run"
-rwxr-xr-xgo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/go.sh b/go.sh
index 676718e..b9d6aea 100755
--- a/go.sh
+++ b/go.sh
@@ -93,9 +93,11 @@ then
93 main 93 main
94else 94else
95 case "$1" in 95 case "$1" in
96 run) main ;;
96 install) self_install ;; 97 install) self_install ;;
97 test) self_test ;; 98 test) self_test ;;
98 *) echo "Error: unknown command: $*" >&2 99 *) echo "Error: unknown command: $*" >&2
100 echo "Valid commands: run install test" >&2
99 exit 1 101 exit 1
100 ;; 102 ;;
101 esac 103 esac