mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Add gvm use -h. Fixes #128
This commit is contained in:
Vendored
+5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user