about summary refs log tree commit homepage
path: root/bin/unicorn_rails
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-08-24 06:21:00 +0000
committerEric Wong <normalperson@yhbt.net>2010-08-28 06:56:19 +0000
commitaa599d00907df159f8b33a62108bfa88f407392e (patch)
treee8af31afe92015283d330b5eab8d525c78cbf561 /bin/unicorn_rails
parentcca4c46dd8cd72afedd9c5d024d47b4554f00c53 (diff)
downloadunicorn-aa599d00907df159f8b33a62108bfa88f407392e.tar.gz
This fixes a long-standing bug in the output of "unicorn_rails"
where the program name was missing.
(cherry picked from commit 096afc1a8e958cc09b4ce8b3bfe76ce056c7ed69)
Diffstat (limited to 'bin/unicorn_rails')
-rwxr-xr-xbin/unicorn_rails2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/unicorn_rails b/bin/unicorn_rails
index 3614fd4..0b2d92f 100755
--- a/bin/unicorn_rails
+++ b/bin/unicorn_rails
@@ -100,7 +100,7 @@ opts = OptionParser.new("", 24, '  ') do |opts|
   end
 
   opts.on_tail("-v", "--version", "Show version") do
-    puts " v#{Unicorn::Const::UNICORN_VERSION}"
+    puts "#{cmd} v#{Unicorn::Const::UNICORN_VERSION}"
     exit
   end