make options consistent across commands

This commit is contained in:
maul.esel 2013-09-12 23:16:06 +02:00 committed by Parker Moore
parent a2853456b6
commit 0e444b7843
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ Mercenary.program(:jekyll) do |p|
c.syntax 'jekyll docs'
c.description "Launch local server with docs for Jekyll v#{Jekyll::VERSION}"
c.option 'port', '-p', '--port [PORT]', 'Port to listen on'
c.option 'host', '-u', '--host [HOST]', 'Host to bind to'
c.option 'port', '-P', '--port [PORT]', 'Port to listen on'
c.option 'host', '-H', '--host [HOST]', 'Host to bind to'
c.action do |args, options|
options = normalize_options(options)