mercurial/commands.py
branchstable
changeset 23137 7867f15b4a38
parent 23123 c26b7a810749
child 23254 d23834b871ac
child 23400 3bd577a3283e
equal deleted inserted replaced
23132:cc1cbb0bba8e 23137:7867f15b4a38
  5475 
  5475 
  5476 @command('^serve',
  5476 @command('^serve',
  5477     [('A', 'accesslog', '', _('name of access log file to write to'),
  5477     [('A', 'accesslog', '', _('name of access log file to write to'),
  5478      _('FILE')),
  5478      _('FILE')),
  5479     ('d', 'daemon', None, _('run server in background')),
  5479     ('d', 'daemon', None, _('run server in background')),
  5480     ('', 'daemon-pipefds', '', _('used internally by daemon mode'), _('NUM')),
  5480     ('', 'daemon-pipefds', '', _('used internally by daemon mode'), _('FILE')),
  5481     ('E', 'errorlog', '', _('name of error log file to write to'), _('FILE')),
  5481     ('E', 'errorlog', '', _('name of error log file to write to'), _('FILE')),
  5482     # use string type, then we can check if something was passed
  5482     # use string type, then we can check if something was passed
  5483     ('p', 'port', '', _('port to listen on (default: 8000)'), _('PORT')),
  5483     ('p', 'port', '', _('port to listen on (default: 8000)'), _('PORT')),
  5484     ('a', 'address', '', _('address to listen on (default: all interfaces)'),
  5484     ('a', 'address', '', _('address to listen on (default: all interfaces)'),
  5485      _('ADDR')),
  5485      _('ADDR')),