mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
A few more usage-message tweaks
Minor stuff, but it corrects some errors in usage messages. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -21,6 +21,7 @@ var (
|
|||||||
listSubCommand cliconfig.PsValues
|
listSubCommand cliconfig.PsValues
|
||||||
_listSubCommand = &cobra.Command{
|
_listSubCommand = &cobra.Command{
|
||||||
Use: strings.Replace(_psCommand.Use, "ps", "list", 1),
|
Use: strings.Replace(_psCommand.Use, "ps", "list", 1),
|
||||||
|
Args: noSubArgs,
|
||||||
Short: _psCommand.Short,
|
Short: _psCommand.Short,
|
||||||
Long: _psCommand.Long,
|
Long: _psCommand.Long,
|
||||||
Aliases: []string{"ls"},
|
Aliases: []string{"ls"},
|
||||||
|
@ -18,7 +18,7 @@ var (
|
|||||||
Starts one or more pods. The pod name or ID can be used.
|
Starts one or more pods. The pod name or ID can be used.
|
||||||
`
|
`
|
||||||
_podStartCommand = &cobra.Command{
|
_podStartCommand = &cobra.Command{
|
||||||
Use: "start POD [POD...]",
|
Use: "start [flags] POD [POD...]",
|
||||||
Short: "Start one or more pods",
|
Short: "Start one or more pods",
|
||||||
Long: podStartDescription,
|
Long: podStartDescription,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
@ -23,6 +23,7 @@ var (
|
|||||||
`
|
`
|
||||||
_pruneSystemCommand = &cobra.Command{
|
_pruneSystemCommand = &cobra.Command{
|
||||||
Use: "prune",
|
Use: "prune",
|
||||||
|
Args: noSubArgs,
|
||||||
Short: "Remove unused data",
|
Short: "Remove unused data",
|
||||||
Long: pruneSystemDescription,
|
Long: pruneSystemDescription,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
Reference in New Issue
Block a user