diff options
author | baude <bbaude@redhat.com> | 2019-02-27 12:26:35 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2019-02-27 12:29:41 -0600 |
commit | 4a33ee2ab337b84bbfbc0045c08ac3d43073d702 (patch) | |
tree | 96dcdde8b74a0d0a2e6b04816de0f50a0009cfc8 /cmd/podman/ps.go | |
parent | fd16be5c00533e5237bfaa640e5afb4b45d29aa5 (diff) | |
download | podman-4a33ee2ab337b84bbfbc0045c08ac3d43073d702.tar.gz podman-4a33ee2ab337b84bbfbc0045c08ac3d43073d702.tar.bz2 podman-4a33ee2ab337b84bbfbc0045c08ac3d43073d702.zip |
fix up a number of misplace commands
* ps now on main command
* sign is no longer on main commmand
* ls, list no longer are valid main aliases for images
* ls, list does work for podman image
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/ps.go')
-rw-r--r-- | cmd/podman/ps.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 9c165b836..3bc4f0b08 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -158,10 +158,9 @@ var ( psCommand cliconfig.PsValues psDescription = "Prints out information about the containers" _psCommand = &cobra.Command{ - Use: "list", - Aliases: []string{"ls", "ps"}, - Short: "List containers", - Long: psDescription, + Use: "ps", + Short: "List containers", + Long: psDescription, RunE: func(cmd *cobra.Command, args []string) error { psCommand.InputArgs = args psCommand.GlobalFlags = MainGlobalOpts |