Skip to content

Commit e9e44f0

Browse files
committed
rename --assignees to --add-assignees for clarity
1 parent 5903e3c commit e9e44f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/cmd/root.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var (
2020
selectLabel string
2121
selectLabels []string
2222
addLabels []string
23-
assignees []string
23+
addAssignees []string
2424
requireCI bool
2525
mustBeApproved bool
2626
autoclose bool
@@ -58,7 +58,7 @@ func NewRootCmd() *cobra.Command {
5858
gh combine --file repos.txt
5959
6060
# Filter PRs by branch name
61-
gh combine octocat/hello-world --branch-prefix dependabot/
61+
gh combine octocat/hello-world --branch-prefix dependabot/ # Only include PRs with the standard dependabot branch prefix
6262
gh combine octocat/hello-world --branch-suffix -update
6363
gh combine octocat/hello-world --branch-regex "dependabot/.*"
6464
@@ -77,7 +77,7 @@ func NewRootCmd() *cobra.Command {
7777
7878
# Add metadata to combined PR
7979
gh combine octocat/hello-world --add-labels security,dependencies # Add these labels to the new PR
80-
gh combine octocat/hello-world --assignees octocat,hubot # Assign users to the new PR
80+
gh combine octocat/hello-world --add-assignees octocat,hubot # Assign users to the new PR
8181
8282
# Additional options
8383
gh combine octocat/hello-world --autoclose # Close source PRs when combined PR is merged
@@ -102,7 +102,7 @@ func NewRootCmd() *cobra.Command {
102102
rootCmd.Flags().StringSliceVar(&addLabels, "add-labels", nil, "Comma-separated list of labels to add to the combined PR")
103103

104104
// Other flags
105-
rootCmd.Flags().StringSliceVar(&assignees, "assignees", nil, "Comma-separated list of users to assign to the combined PR")
105+
rootCmd.Flags().StringSliceVar(&addAssignees, "add-assignees", nil, "Comma-separated list of users to assign to the combined PR")
106106
rootCmd.Flags().BoolVar(&requireCI, "require-ci", false, "Only include PRs with passing CI checks")
107107
rootCmd.Flags().BoolVar(&mustBeApproved, "require-approved", false, "Only include PRs that have been approved")
108108
rootCmd.Flags().BoolVar(&autoclose, "autoclose", false, "Close source PRs when combined PR is merged")

0 commit comments

Comments
 (0)