lib/cloud_crowd/command_line.rb in documentcloud-cloud-crowd-0.0.5 vs lib/cloud_crowd/command_line.rb in documentcloud-cloud-crowd-0.0.6

- old
+ new

@@ -12,22 +12,24 @@ # Path to the Daemons gem script which launches workers. WORKER_RUNNER = File.expand_path("#{CC_ROOT}/lib/cloud_crowd/runner.rb") # Command-line banner for the usage message. BANNER = <<-EOS -CloudCrowd is a Ruby & AWS batch processing system, MapReduce style. +CloudCrowd is a MapReduce-inspired Parallel Processing System for Ruby. +Wiki: http://wiki.github.com/documentcloud/cloud-crowd + Usage: crowd COMMAND OPTIONS -COMMANDS: +Commands: install Install the CloudCrowd configuration files to the specified directory server Start up the central server (requires a database) workers Control worker daemons, use: (start | stop | restart | status | run) console Launch a CloudCrowd console, connected to the central database load_schema Load the schema into the database specified by database.yml -OPTIONS: +Options: EOS # Creating a CloudCrowd::CommandLine runs from the contents of ARGV. def initialize parse_options @@ -159,10 +161,10 @@ @options[:num_workers] = num end opts.on('-p', '--port PORT', 'central server port number') do |port_num| @options[:port] = port_num end - opts.on('-e', '--environment ENV', 'Sinatra environment (code reloading)') do |env| + opts.on('-e', '--environment ENV', 'server environment (sinatra)') do |env| @options[:environment] = env end opts.on_tail('-v', '--version', 'show version') do load_code puts "CloudCrowd version #{VERSION}" \ No newline at end of file