summaryrefslogtreecommitdiff
path: root/cmd/ponzu/generate.go
diff options
context:
space:
mode:
authorMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-22 09:00:23 +0200
committerMartin Treusch von Buttlar <martin.tvb@vitraum.de>2017-05-22 09:00:23 +0200
commit9f4c550b8be0f80fd670f7ded32dbd4aab8d1f4e (patch)
treed4b3ef3ec0ac61a210ca079861e1334ca29a70c8 /cmd/ponzu/generate.go
parent4c03187fbef64573ded62f40d5d4dace6c48747b (diff)
add help flags for sub commands to root cmd
Diffstat (limited to 'cmd/ponzu/generate.go')
-rw-r--r--cmd/ponzu/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ponzu/generate.go b/cmd/ponzu/generate.go
index 048addd..bc94913 100644
--- a/cmd/ponzu/generate.go
+++ b/cmd/ponzu/generate.go
@@ -450,5 +450,5 @@ var contentCmd = &cobra.Command{
func init() {
generateCmd.AddCommand(contentCmd)
- rootCmd.AddCommand(generateCmd)
+ RegisterCmdlineCommand(generateCmd)
}