summaryrefslogtreecommitdiff
path: root/cmd/podman/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/system.go')
-rw-r--r--cmd/podman/system.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/system.go b/cmd/podman/system.go
index f6b28fee1..741b79da5 100644
--- a/cmd/podman/system.go
+++ b/cmd/podman/system.go
@@ -17,7 +17,12 @@ var (
}
)
+var systemCommands = []*cobra.Command{
+ _infoCommand,
+}
+
func init() {
+ systemCommand.AddCommand(systemCommands...)
systemCommand.AddCommand(getSystemSubCommands()...)
- rootCmd.AddCommand(systemCommand.Command)
+ systemCommand.SetUsageTemplate(UsageTemplate())
}