Skip to content

Commit

Permalink
Fix typos in cli flag descriptions #3 from pschmitt/typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt committed May 20, 2020
1 parent 37a64e3 commit 37e3139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newreleases/cmd/project_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *command) initProjectAddCmd(projectCmd *cobra.Command) (err error) {
cmd.Flags().StringArray(optionNameMicrosoftTeams, nil, "Microsoft Teams webhook ID")
cmd.Flags().StringArray(optionNameWebhook, nil, "Webhook ID")
cmd.Flags().StringArray(optionNameExclusions, nil, "Regex version exclusion, suffix with \"-inverse\" for inclusion")
cmd.Flags().Bool(optionNameExcludePrereleases, false, "exclude pre-repelases")
cmd.Flags().Bool(optionNameExcludePrereleases, false, "exclude pre-releases")
cmd.Flags().Bool(optionNameExcludeUpdated, false, "exclude updated")

projectCmd.AddCommand(cmd)
Expand Down
2 changes: 1 addition & 1 deletion newreleases/cmd/project_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (c *command) initProjectUpdateCmd(projectCmd *cobra.Command) (err error) {
cmd.Flags().Bool(optionNameWebhookRemove, false, "remove Webhook notifications")
cmd.Flags().StringArray(optionNameExclusions, nil, "Regex version exclusion, suffix with \"-inverse\" for inclusion")
cmd.Flags().Bool(optionNameExclusionsRemove, false, "remove Regex version exclusions")
cmd.Flags().Bool(optionNameExcludePrereleases, false, "exclude pre-repelases")
cmd.Flags().Bool(optionNameExcludePrereleases, false, "exclude pre-releases")
cmd.Flags().Bool(optionNameExcludeUpdated, false, "exclude updated")

projectCmd.AddCommand(cmd)
Expand Down

0 comments on commit 37e3139

Please sign in to comment.