Skip to content

Commit

Permalink
issue transition - minimumArgs -> maximumArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Feb 6, 2024
1 parent ecda880 commit ebdc23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/issue/transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var TransitionCmd = &cobra.Command{
Use: "transition [KEY]...",
Short: "Transition issues to another state",
Long: "Transition issues to another state. You'll be prompted to choose one of the available states",
Args: cobra.MinimumNArgs(1),
Args: cobra.MaximumNArgs(1),
Aliases: []string{"t"},
ValidArgsFunction: func(comd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
if len(args) == 0 {
Expand Down

0 comments on commit ebdc23a

Please sign in to comment.