VOL-1900 lint warning fixes
Change-Id: Ibbe15bc887f0ed9e0de4d01b522f0a0429773b44
diff --git a/cli/util/parseCmd.go b/cli/util/parseCmd.go
index 8f9d13d..aa78589 100644
--- a/cli/util/parseCmd.go
+++ b/cli/util/parseCmd.go
@@ -21,6 +21,7 @@
"strings"
)
+// Test makes a bunch on new commands available
func Test(chars string, values []string) ([]string, string) {
var ret []string
@@ -56,12 +57,14 @@
return ret, chars
}
+// Route will fetch information with respect to table fields
func Route(command string, table map[string]func(bool), enterPressed bool) {
cmd := table[command]
cmd(enterPressed)
}
+// Exit will come out of connected session
func Exit(notUsed bool) {
os.Exit(0)
}