Show run help with no args

This commit is contained in:
Sergio Galvan
2014-11-04 21:28:47 -08:00
parent c4e9910997
commit b49d884dfa
+4
View File
@@ -24,6 +24,10 @@ func init() {
}
func runRun(cmd *Command, args []string) {
if len(args) < 1 {
cmd.printUsage()
os.Exit(1)
}
workDir, err := os.Getwd()
if err != nil {
handleError(err)