From 13d2354bc6b43571061d6eccab560fe1f226339e Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 10 Feb 2019 15:25:13 -0600 Subject: Separate remote and local commands In the previous CLI, we had an accurate depiction of commands available for the remote client and those available for the local client. Signed-off-by: baude --- cmd/podman/ps.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/podman/ps.go') diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 002975b87..dd5bf0ff2 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -187,9 +187,8 @@ func init() { flags.StringVar(&psCommand.Sort, "sort", "created", "Sort output by command, created, id, image, names, runningfor, size, or status") flags.BoolVar(&psCommand.Sync, "sync", false, "Sync container state with OCI runtime") - rootCmd.AddCommand(psCommand.Command) - } + func psCmd(c *cliconfig.PsValues) error { var ( filterFuncs []libpod.ContainerFilter -- cgit v1.2.3-54-g00ecf