Skip to content

Commit

Permalink
added virtual host command line opts and help
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ Vanderpoel committed Apr 16, 2008
1 parent 6596a9b commit 2d8f37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/services/services_generator.rb
Expand Up @@ -60,7 +60,7 @@ def add_options!(opt)
opt.separator ''
opt.separator 'Options:'
opt.on("-nNAME", "--name NAME","Name of this service (Defaults to basename of RAILS_ROOT)") { |v| options[:ip] = v }
opt.on("-hVHOST", "--virtual-host VHOST","The virtual host to use for lighttpd config (Defaults to NAME)") { |v| options[:virtual_host] = v }
opt.on("--virtual-host VHOST","The virtual host to use for lighttpd config (Defaults to NAME)") { |v| options[:virtual_host] = v }
opt.on("-iIP", "--ip IP","IP to bind to (Defaults to localhost)") { |v| options[:ip] = v }
opt.on("-eENVIRONMENT", "--environment ENVIRONMENT","Choose environment (Defaults to production)") { |v| options[:environment] = v }
opt.on("--number NUMBER","The number of listeners to create (Default is 5). Use 0 to generate a 'generic' run directory (good for customization)") { |v| options[:number] = v }
Expand Down

0 comments on commit 2d8f37c

Please sign in to comment.