Merge pull request #42 from sgmac/master

Show run help with no args
This commit is contained in:
David Dollar
2014-11-05 07:12:42 -05:00
+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)