summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-09 09:59:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-09 10:00:48 +0900
commit4fabb744718ddbb2eb8f5f4a6ca3d47d8e770547 (patch)
tree84b519c49fb2da2608d1cd321f2a25dc227b96be /tool/vcs.rb
parentf1486fea46cf36f1c936f5074a7251f29f9c1c5d (diff)
Show the commit command if dryrun
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 6fd2705..8e62276 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -510,6 +510,7 @@ class VCS
dryrun = opts.fetch(:dryrun) {$DEBUG} if opts
args = [COMMAND, "push"]
args << "-n" if dryrun
+ STDERR.puts(args.inspect) if dryrun
system(*args) or return false
true
end