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')), |