summaryrefslogtreecommitdiff
path: root/cmd/podman/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/generate.go')
-rw-r--r--cmd/podman/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/generate.go b/cmd/podman/generate.go
index a5e15fdd6..66cb7a465 100644
--- a/cmd/podman/generate.go
+++ b/cmd/podman/generate.go
@@ -17,5 +17,5 @@ var generateCommand = cliconfig.PodmanCommand{
func init() {
generateCommand.AddCommand(getGenerateSubCommands()...)
- rootCmd.AddCommand(generateCommand.Command)
+ generateCommand.SetUsageTemplate(UsageTemplate())
}