Merge pull request #786 from cdrage/fix-minor-help-usage

Fix minor help output
This commit is contained in:
Tomas Kral 2017-08-22 08:49:05 +02:00 committed by GitHub
commit d675e0a61b

View File

@ -122,7 +122,7 @@ func init() {
convertCmd.Flags().MarkHidden("build-branch") convertCmd.Flags().MarkHidden("build-branch")
// Standard between the two // Standard between the two
convertCmd.Flags().StringVar(&ConvertBuild, "build", "none", `Set the type of build ("local"|"build-config" (OpenShift only)|"none")`) convertCmd.Flags().StringVar(&ConvertBuild, "build", "none", `Set the type of build ("local"|"build-config"(OpenShift only)|"none")`)
convertCmd.Flags().BoolVarP(&ConvertYaml, "yaml", "y", false, "Generate resource files into YAML format") convertCmd.Flags().BoolVarP(&ConvertYaml, "yaml", "y", false, "Generate resource files into YAML format")
convertCmd.Flags().MarkDeprecated("yaml", "YAML is the default format now.") convertCmd.Flags().MarkDeprecated("yaml", "YAML is the default format now.")
convertCmd.Flags().MarkShorthandDeprecated("y", "YAML is the default format now.") convertCmd.Flags().MarkShorthandDeprecated("y", "YAML is the default format now.")