summaryrefslogtreecommitdiff
path: root/cmd/podman/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-11 20:58:57 +0100
committerGitHub <noreply@github.com>2019-02-11 20:58:57 +0100
commit54a5584d84d37632c1c8480d437a012625526a84 (patch)
treeb830557a2607c9b005532906630fb537a163ed46 /cmd/podman/container.go
parentb7a3685cbae421bfd882c7c592b1721071cde984 (diff)
parent13d2354bc6b43571061d6eccab560fe1f226339e (diff)
downloadpodman-54a5584d84d37632c1c8480d437a012625526a84.tar.gz
podman-54a5584d84d37632c1c8480d437a012625526a84.tar.bz2
podman-54a5584d84d37632c1c8480d437a012625526a84.zip
Merge pull request #2307 from baude/repruneremote
Separate remote and local commands
Diffstat (limited to 'cmd/podman/container.go')
-rw-r--r--cmd/podman/container.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/podman/container.go b/cmd/podman/container.go
index 969cb2dc8..6d9231482 100644
--- a/cmd/podman/container.go
+++ b/cmd/podman/container.go
@@ -15,7 +15,13 @@ var containerCommand = cliconfig.PodmanCommand{
},
}
+// Commands that are universally implemented.
+var containerCommands = []*cobra.Command{
+ _containerExistsCommand,
+}
+
func init() {
+ containerCommand.AddCommand(containerCommands...)
containerCommand.AddCommand(getContainerSubCommands()...)
rootCmd.AddCommand(containerCommand.Command)
}