dm: set flag.Usage to usage

Now when `--help` is called we get all of the subcommands listed too.
pull/203/head
Brandon Philips 9 years ago
parent 5d18c570ec
commit a6aa46720a

@ -120,6 +120,10 @@ func getGithubCredential() *common.RegistryCredential {
return nil return nil
} }
func init() {
flag.Usage = usage
}
func main() { func main() {
defer func() { defer func() {
result := recover() result := recover()

Loading…
Cancel
Save