Skip to content

Commit 9dc037d

Browse files
committed
review feedback
1 parent 89fbfa8 commit 9dc037d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/krel/cmd/release_notes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func init() {
247247
"include-labels",
248248
"l",
249249
[]string{},
250-
"specify one or more PR labels to include in release notes",
250+
"only PRs with one of these labels are considered. Set to empty to include all PRs",
251251
)
252252

253253
rootCmd.AddCommand(releaseNotesCmd)

cmd/release-notes/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ func addGenerateFlags(subcommand *cobra.Command) {
255255
"include-labels",
256256
"l",
257257
[]string{},
258-
"specify one or more PR labels to include in release notes",
258+
"Only PRs with one of these labels are considered. Set to empty to include all PRs",
259259
)
260260
}
261261

pkg/notes/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ type Options struct {
134134
// this option should be set to false to take advantage of Github's autolinked references.
135135
AddMarkdownLinks bool
136136

137-
// IncludeLabels enables including only PRs that have one or more specific labels.
137+
// IncludeLabels can be used to filter PRs by labels so only PRs with one or more specified labels are included.
138138
IncludeLabels []string
139139
}
140140

0 commit comments

Comments
 (0)