From 9b8a9b62645590df89ed923149a5c6a98ecad6ee Mon Sep 17 00:00:00 2001 From: Jesse Peterson Date: Sat, 18 Mar 2017 18:48:45 -0700 Subject: [PATCH] Protect against a crash --- get.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/get.go b/get.go index 1c0a576e..235e21bd 100644 --- a/get.go +++ b/get.go @@ -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 {