Add gvm use -h. Fixes #128

This commit is contained in:
Joshua Bussdieker
2015-12-17 12:39:08 -08:00
parent 20fe6c5214
commit 25ea8ae158
+5
View File
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
function gvm_use() {
if [[ "$1" == "-h" ]]; then
display_message "Usage: gvm use VERSION [--default]"
return 1
fi
[[ "$1" != "" ]] ||
display_error "Please specify the version" || return 1
local VERSION=$1