This project is archived and is in readonly mode.

#3874 ✓committed
Henrik Nyh

"rails server --help" shows help twice and without "server" in usage

Reported by Henrik Nyh | February 6th, 2010 @ 07:08 AM | in 3.0.2

henrik@Nyx ~/Sites/rails3test$ rails server --help
Usage: rails [options]
    -p, --port=port                  Runs Rails on the specified port.
                                     Default: 
    -b, --binding=ip                 Binds Rails to the specified ip.
                                     Default: 
    -c, --config=file                Use custom rackup configuration file
    -d, --daemon                     Make server run as a Daemon.
    -u, --debugger                   Enable ruby-debugging for the server.
    -e, --environment=name           Specifies the environment to run this server under (test/development/production).
                                     Default: 
    -h, --help                       Show this help message.
Usage: rails [options]
    -p, --port=port                  Runs Rails on the specified port.
                                     Default: 
    -b, --binding=ip                 Binds Rails to the specified ip.
                                     Default: 
    -c, --config=file                Use custom rackup configuration file
    -d, --daemon                     Make server run as a Daemon.
    -u, --debugger                   Enable ruby-debugging for the server.
    -e, --environment=name           Specifies the environment to run this server under (test/development/production).
                                     Default: 
    -h, --help                       Show this help message.

Note that it's repeated twice and that it says "Usage: rails [options]" but should say "Usage: rails server [options]".

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages