Merge pull request #2512 from edsantiago/yet_more_usage_fixes

A few more usage-message tweaks
This commit is contained in:
OpenShift Merge Robot
2019-03-04 06:18:54 -08:00
committed by GitHub
3 changed files with 3 additions and 1 deletions

View File

@ -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"},

View File

@ -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 {

View File

@ -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 {