1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-02-16 22:17:51 +00:00

Merge pull request #42 from stephen679/fix_no_arguments

cmd: gomtree no arguments
This commit is contained in:
Vincent Batts 2016-07-26 11:52:03 -04:00 committed by GitHub
commit 2324bb8b19

View file

@ -227,13 +227,13 @@ func main() {
fmt.Printf("%s missing\n", missingpath) fmt.Printf("%s missing\n", missingpath)
} }
} }
}
} else { } else {
log.Println("neither validating or creating a manifest. Please provide additional arguments") log.Println("neither validating or creating a manifest. Please provide additional arguments")
isErr = true isErr = true
defer os.Exit(1) defer os.Exit(1)
return return
} }
}
} }
func splitKeywordsArg(str string) []string { func splitKeywordsArg(str string) []string {