Merge pull request #30070 from deads2k/fix-alias

Automatic merge from submit-queue

replace improper create quota alias

`q` is not a shortname for `resourcequota`, so it shouldn't be an alias for `kubectl create resourcequota`.

@sttts ptal
pull/6/head
Kubernetes Submit Queue 2016-08-05 02:36:44 -07:00 committed by GitHub
commit a13efbc01a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ Create a resourcequota with the specified name, hard limits and optional scopes`
func NewCmdCreateQuota(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "quota NAME [--hard=key1=value1,key2=value2] [--scopes=Scope1,Scope2] [--dry-run=bool]",
Aliases: []string{"q"},
Aliases: []string{"resourcequota"},
Short: "Create a quota with the specified name.",
Long: quotaLong,
Example: quotaExample,