diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-04 06:18:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 06:18:54 -0800 |
commit | 91717023797958532ac31bb46c012e95bcfa6a8d (patch) | |
tree | 22f5deed67a3b185c63071e44cc24f22c8bc3c8d /cmd/podman | |
parent | d63c8b00321f7e1d7c3cbfe3d1a57c9283d10d37 (diff) | |
parent | 0a0c1fa23e1e390bae3d24686fb14216c52adbbf (diff) | |
download | podman-91717023797958532ac31bb46c012e95bcfa6a8d.tar.gz podman-91717023797958532ac31bb46c012e95bcfa6a8d.tar.bz2 podman-91717023797958532ac31bb46c012e95bcfa6a8d.zip |
Merge pull request #2512 from edsantiago/yet_more_usage_fixes
A few more usage-message tweaks
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/container.go | 1 | ||||
-rw-r--r-- | cmd/podman/pod_start.go | 2 | ||||
-rw-r--r-- | cmd/podman/system_prune.go | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/container.go b/cmd/podman/container.go index 65ec22317..0bcdf533a 100644 --- a/cmd/podman/container.go +++ b/cmd/podman/container.go @@ -21,6 +21,7 @@ var ( listSubCommand cliconfig.PsValues _listSubCommand = &cobra.Command{ Use: strings.Replace(_psCommand.Use, "ps", "list", 1), + Args: noSubArgs, Short: _psCommand.Short, Long: _psCommand.Long, Aliases: []string{"ls"}, diff --git a/cmd/podman/pod_start.go b/cmd/podman/pod_start.go index eef9d2a71..ca8ad08cf 100644 --- a/cmd/podman/pod_start.go +++ b/cmd/podman/pod_start.go @@ -18,7 +18,7 @@ var ( Starts one or more pods. The pod name or ID can be used. ` _podStartCommand = &cobra.Command{ - Use: "start POD [POD...]", + Use: "start [flags] POD [POD...]", Short: "Start one or more pods", Long: podStartDescription, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/cmd/podman/system_prune.go b/cmd/podman/system_prune.go index a823dcad1..f566387fa 100644 --- a/cmd/podman/system_prune.go +++ b/cmd/podman/system_prune.go @@ -23,6 +23,7 @@ var ( ` _pruneSystemCommand = &cobra.Command{ Use: "prune", + Args: noSubArgs, Short: "Remove unused data", Long: pruneSystemDescription, RunE: func(cmd *cobra.Command, args []string) error { |