Skip to content

Commit

Permalink
Bug 1608254 - update help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
soltysh committed Aug 9, 2018
1 parent 55f97bf commit acccac5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/oc/cli/set/deploymenthook.go
Expand Up @@ -125,7 +125,6 @@ func NewCmdDeploymentHook(fullName string, f kcmdutil.Factory, streams genericcl
// TODO: remove shorthand 'v' in 3.12
// this is done to trick pflag into allowing the duplicate registration. The local value here wins
cmd.Flags().StringSliceVarP(&o.Volumes, "v", "v", o.Volumes, "Volumes from the pod template to use in the deployment hook pod")
cmd.Flags().MarkDeprecated("v", "Use --volumes instead. Will be dropped in a future release")
cmd.Flags().MarkShorthandDeprecated("v", "Use --volumes instead.")
cmd.Flags().StringSliceVar(&o.Volumes, "volumes", o.Volumes, "Volumes from the pod template to use in the deployment hook pod")
cmd.Flags().StringVar(&o.FailurePolicyStr, "failure-policy", o.FailurePolicyStr, "The failure policy for the deployment hook. Valid values are: abort,retry,ignore")
Expand Down
1 change: 0 additions & 1 deletion pkg/oc/cli/status/status.go
Expand Up @@ -90,7 +90,6 @@ func NewCmdStatus(name, baseCLIName, fullName string, f kcmdutil.Factory, stream
// TODO: remove verbose in 3.12
// this is done to trick pflag into allowing the duplicate registration. The local value here wins
cmd.Flags().BoolVarP(&o.suggest, "v", "v", o.suggest, "See details for resolving issues.")
cmd.Flags().MarkDeprecated("v", "Use --suggest instead. Will be dropped in a future release")
cmd.Flags().MarkShorthandDeprecated("v", "Use --suggest instead. Will be dropped in a future release")
cmd.Flags().BoolVar(&o.suggest, "verbose", o.suggest, "See details for resolving issues.")
cmd.Flags().MarkDeprecated("verbose", "Use --suggest instead.")
Expand Down

0 comments on commit acccac5

Please sign in to comment.