From 1dc33e3005ef682ce9be459196c9c51a2c17c24e Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 4 Nov 2016 22:53:49 +0100 Subject: [PATCH] Option --unreleased-label explained --- lib/github_changelog_generator/parser.rb | 2 +- man/git-generate-changelog.1 | 2 +- man/git-generate-changelog.1.html | 2 +- man/git-generate-changelog.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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