Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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