Commit a6aa4672 authored by Brandon Philips's avatar Brandon Philips

dm: set flag.Usage to usage

Now when `--help` is called we get all of the subcommands listed too.
parent 5d18c570
...@@ -120,6 +120,10 @@ func getGithubCredential() *common.RegistryCredential { ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment