diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index 6aab425..5c8f8eb 100755 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -107,7 +107,7 @@ module GitHubChangelogGenerator opts.on("--[no-]unreleased", "Add to log unreleased closed issues. Default is true") do |v| options[:unreleased] = v end - opts.on("--unreleased-label [label]", "Add to log unreleased closed issues. Default is true") do |v| + opts.on("--unreleased-label [label]", "Setup custom label for unreleased closed issues section. Default is \"**Unreleased:**\"") do |v| options[:unreleased_label] = v end opts.on("--[no-]compare-link", "Include compare link (Full Changelog) between older version and newer version. Default is true") do |v| diff --git a/man/git-generate-changelog.1 b/man/git-generate-changelog.1 index 713e288..23edd6b 100644 --- a/man/git-generate-changelog.1 +++ b/man/git-generate-changelog.1 @@ -142,7 +142,7 @@ Add to log unreleased closed issues\. Default is true \-\-unreleased\-label [label] . .P -Add to log unreleased closed issues\. Default is true +Setup custom label for unreleased closed issues section\. Default is "\fBUnreleased:\fR" . .P \-\-[no\-]compare\-link diff --git a/man/git-generate-changelog.1.html b/man/git-generate-changelog.1.html index 4ea9736..fee2ffa 100644 --- a/man/git-generate-changelog.1.html +++ b/man/git-generate-changelog.1.html @@ -170,7 +170,7 @@
--unreleased-label [label]
-Add to log unreleased closed issues. Default is true
+Setup custom label for unreleased closed issues section. Default is "Unreleased:"
--[no-]compare-link
diff --git a/man/git-generate-changelog.md b/man/git-generate-changelog.md index 2fa109f..463c680 100644 --- a/man/git-generate-changelog.md +++ b/man/git-generate-changelog.md @@ -97,7 +97,7 @@ Automatically generate change log from your tags, issues, labels and pull reques --unreleased-label [label] - Add to log unreleased closed issues. Default is true + Setup custom label for unreleased closed issues section. Default is "**Unreleased:**" --[no-]compare-link