From 096afc1a8e958cc09b4ce8b3bfe76ce056c7ed69 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 24 Aug 2010 06:21:00 +0000 Subject: bin/*: more consistent --help output This fixes a long-standing bug in the output of "unicorn_rails" where the program name was missing. --- bin/unicorn_rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/unicorn_rails') 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 -- cgit v1.2.3-24-ge0c7