diff options
author | Martin Treusch von Buttlar <martin.tvb@vitraum.de> | 2017-05-22 09:00:23 +0200 |
---|---|---|
committer | Martin Treusch von Buttlar <martin.tvb@vitraum.de> | 2017-05-22 09:00:23 +0200 |
commit | 9f4c550b8be0f80fd670f7ded32dbd4aab8d1f4e (patch) | |
tree | d4b3ef3ec0ac61a210ca079861e1334ca29a70c8 /cmd/ponzu/new.go | |
parent | 4c03187fbef64573ded62f40d5d4dace6c48747b (diff) |
add help flags for sub commands to root cmd
Diffstat (limited to 'cmd/ponzu/new.go')
-rw-r--r-- | cmd/ponzu/new.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ponzu/new.go b/cmd/ponzu/new.go index 0a19da1..9911931 100644 --- a/cmd/ponzu/new.go +++ b/cmd/ponzu/new.go @@ -195,5 +195,5 @@ func init() { newCmd.Flags().StringVar(&fork, "fork", "", "modify repo source for Ponzu core development") newCmd.Flags().BoolVar(&dev, "dev", false, "modify environment for Ponzu core development") - rootCmd.AddCommand(newCmd) + RegisterCmdlineCommand(newCmd) } |