Created
May 27, 2010 21:38
-
-
Save dyoder/416390 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Choice.options do | |
header 'Run a waves application server.' | |
header '' | |
option :port do | |
short '-p' | |
long '--port=PORT' | |
desc 'Port to listen on.' | |
desc 'Defaults to value given in configuration.' | |
cast Integer | |
end | |
separator '' | |
option :host do | |
short '-h' | |
long '--host=HOST' | |
desc 'Host or IP address of the host to bind.' | |
desc 'Defaults to value given in configuration.' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment