summaryrefslogtreecommitdiff
path: root/bin/changelog
diff options
context:
space:
mode:
Diffstat (limited to 'bin/changelog')
-rwxr-xr-xbin/changelog3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/changelog b/bin/changelog
index 2b08e3e4c2a..a0d1ad2d730 100755
--- a/bin/changelog
+++ b/bin/changelog
@@ -42,7 +42,7 @@ class ChangelogOptionParser
end
opts.on('-h', '--help', 'Print help message') do
- puts opts
+ $stdout.puts opts
exit
end
end
@@ -72,6 +72,7 @@ class ChangelogEntry
$stdout.puts "\e[32mcreate\e[0m #{file_path}"
$stdout.puts contents
+
unless options.dry_run
write
amend_commit if options.amend