Clarify label edit --name switch (#5525)

Follow-up from #5519
This commit is contained in:
Heath Stewart 2022-04-27 00:37:28 -07:00 committed by GitHub
parent 32256d38bf
commit 171baca07d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ func newCmdEdit(f *cmdutil.Factory, runF func(*editOptions) error) *cobra.Comman
cmd.Flags().StringVarP(&opts.Description, "description", "d", "", "Description of the label")
cmd.Flags().StringVarP(&opts.Color, "color", "c", "", "Color of the label")
cmd.Flags().StringVarP(&opts.NewName, "name", "n", "", "Name of the label")
cmd.Flags().StringVarP(&opts.NewName, "name", "n", "", "New name of the label")
return cmd
}