diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-08 04:20:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 04:20:14 -0800 |
commit | 9e2cd7fea1c03e36c9354c8f67a4f08721fdc503 (patch) | |
tree | 6eebe6a421f80b782f9c20f910deca62abc83660 /cmd/podman/main.go | |
parent | 8a21e231e63e557448f3471ff57a27fac682d9cc (diff) | |
parent | 181f327d57ab84918572b69d2a039c43a8d7b871 (diff) | |
download | podman-9e2cd7fea1c03e36c9354c8f67a4f08721fdc503.tar.gz podman-9e2cd7fea1c03e36c9354c8f67a4f08721fdc503.tar.bz2 podman-9e2cd7fea1c03e36c9354c8f67a4f08721fdc503.zip |
Merge pull request #2580 from rhatdan/cleanup1
More cleanup for failures on missing commands.
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 97ffa8930..7d4b650a9 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -82,9 +82,7 @@ var cmdsNotRequiringRootless = map[*cobra.Command]bool{ var rootCmd = &cobra.Command{ Use: "podman", Long: "manage pods and images", - RunE: func(cmd *cobra.Command, args []string) error { - return cmd.Help() - }, + RunE: commandRunE(), PersistentPreRunE: func(cmd *cobra.Command, args []string) error { return before(cmd, args) }, |