Improve the help message for -F (#9525)

Changing to `release-notes.md` from `changelog.md` may help users better contextually understand usage.

Co-authored-by: Tyler McGoffin <jtmcg@github.com>
This commit is contained in:
Zongle Wang 2024-08-28 14:00:46 -04:00 committed by GitHub
parent 327451627c
commit 192f57ef42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,7 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
$ gh release create v1.2.3 --generate-notes
Use release notes from a file
$ gh release create v1.2.3 -F changelog.md
$ gh release create v1.2.3 -F release-notes.md
Use annotated tag notes
$ gh release create v1.2.3 --notes-from-tag