Merge pull request #6177 from mikesplain/make_upgrade_consistent

Add y flag for upgrade command for consistency
This commit is contained in:
Kubernetes Prow Robot 2018-12-07 05:17:39 -08:00 committed by GitHub
commit 76979b7fca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ func init() {
},
}
cmd.Flags().BoolVar(&upgradeCluster.Yes, "yes", false, "Apply update")
cmd.Flags().BoolVarP(&upgradeCluster.Yes, "yes", "y", false, "Apply update")
cmd.Flags().StringVar(&upgradeCluster.Channel, "channel", "", "Channel to use for upgrade")
upgradeCmd.AddCommand(cmd)

View File

@ -25,7 +25,7 @@ kops upgrade cluster [flags]
```
--channel string Channel to use for upgrade
-h, --help help for cluster
--yes Apply update
-y, --yes Apply update
```
### Options inherited from parent commands