6206 |
6206 |
6207 @command('^serve', |
6207 @command('^serve', |
6208 [('A', 'accesslog', '', _('name of access log file to write to'), |
6208 [('A', 'accesslog', '', _('name of access log file to write to'), |
6209 _('FILE')), |
6209 _('FILE')), |
6210 ('d', 'daemon', None, _('run server in background')), |
6210 ('d', 'daemon', None, _('run server in background')), |
6211 ('', 'daemon-pipefds', '', _('used internally by daemon mode'), _('FILE')), |
6211 ('', 'daemon-postexec', '', _('used internally by daemon mode')), |
6212 ('E', 'errorlog', '', _('name of error log file to write to'), _('FILE')), |
6212 ('E', 'errorlog', '', _('name of error log file to write to'), _('FILE')), |
6213 # use string type, then we can check if something was passed |
6213 # use string type, then we can check if something was passed |
6214 ('p', 'port', '', _('port to listen on (default: 8000)'), _('PORT')), |
6214 ('p', 'port', '', _('port to listen on (default: 8000)'), _('PORT')), |
6215 ('a', 'address', '', _('address to listen on (default: all interfaces)'), |
6215 ('a', 'address', '', _('address to listen on (default: all interfaces)'), |
6216 _('ADDR')), |
6216 _('ADDR')), |