summaryrefslogtreecommitdiff
path: root/cmd/podman/history.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/history.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/history.go')
-rw-r--r--cmd/podman/history.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/history.go b/cmd/podman/history.go
index 97e501947..953c94b69 100644
--- a/cmd/podman/history.go
+++ b/cmd/podman/history.go
@@ -60,9 +60,8 @@ func init() {
flags.BoolVar(&historyCommand.NoTrunc, "no-trunc", false, "Do not truncate the output")
flags.BoolVarP(&historyCommand.Quiet, "quiet", "q", false, "Display the numeric IDs only")
- rootCmd.AddCommand(historyCommand.Command)
-
}
+
func historyCmd(c *cliconfig.HistoryValues) error {
runtime, err := adapter.GetRuntime(&c.PodmanCommand)
if err != nil {