Protect against a crash

This commit is contained in:
Jesse Peterson
2017-03-18 18:48:45 -07:00
parent 02d0f96555
commit 9b8a9b6264

3
get.go
View File

@@ -60,6 +60,9 @@ func getDep(args []string) error {
run = getDepProfile
case "profile-template":
run = getDepProfileTpl
default:
usage()
os.Exit(1)
}
if err := run(client, args[1:]); err != nil {