File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 34
34
if [ -f " $GVM_ROOT /scripts/$command " ]; then
35
35
shift
36
36
" $GVM_ROOT /scripts/$command " " $@ "
37
- elif [[ -n $command ]]; then
38
- display_fatal " Unrecognized command line argument: '$command '"
39
- else
37
+ elif [[ -z $command || $command = help ]]; then
40
38
echo " Usage: gvm [command]
41
39
42
40
Description:
@@ -47,6 +45,7 @@ Commands:
47
45
get - gets the latest code (for debugging)
48
46
use - select a go version to use (--default to set permanently)
49
47
diff - view changes to Go root
48
+ help - display this usage text
50
49
implode - completely remove gvm
51
50
install - install go versions
52
51
uninstall - uninstall go versions
@@ -58,5 +57,7 @@ Commands:
58
57
pkgset - manage go packages sets
59
58
pkgenv - edit the environment for a package set
60
59
"
60
+ else
61
+ display_fatal " Unrecognized command line argument: '$command '"
61
62
fi
62
63
fi
You can’t perform that action at this time.
0 commit comments