bin/bump in bump-0.9.0 vs bin/bump in bump-0.10.0

- old
+ new

@@ -26,9 +26,11 @@ opts.on("--no-bundle", "Do not bundle.") { options[:bundle] = false } opts.on("--tag", "Create git tag from version (only if commit is true).") { options[:tag] = true } opts.on("--tag-prefix TAG_PREFIX", "Prefix the tag with this string, ex. 'v'") { |tag_prefix| options[:tag_prefix] = tag_prefix } opts.on("--replace-in FILE", String, "Replace old version with the new version additionally in this file") { |f| (options[:replace_in] ||= []) << f } opts.on("--changelog", "Update CHANGELOG.md") { options[:changelog] = true } + opts.on("--edit-changelog", "Use $EDITOR to open changelog before committing, e.g. 'subl -n -w' or 'nano'.") { options[:changelog] = :editor } + opts.on("--value-only", "Do not prefix the output with any descriptive text") { options[:value_only] = true } opts.on("-h", "--help", "Show this.") { puts opts; exit } end.parse! valid_argv = ["set", "show-next"].include?(ARGV.first) ? 2 : 1 abort "Usage instructions: bump --help" unless ARGV.size == valid_argv