bin/hudson in hudson-0.2.1 vs bin/hudson in hudson-0.2.2
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-require 'hudson'
+require File.dirname(__FILE__) + '/../lib/hudson'
require 'un'
require 'optparse'
options = {
@@ -9,10 +9,10 @@
:control => 3002
}
args = ARGV.dup
opts = OptionParser.new do |opts|
- opts.banner = "Usage: hudson [options] DIR"
+ opts.banner = "Usage: hudson [options] HUDSON_HOME"
opts.on("-d", "--daemon", "fork into background and run as daemon") do
options[:daemon] = true
end