diff -r 155e3308289c -r c90cfe76e024 mercurial/commands.py --- a/mercurial/commands.py Sat Feb 27 12:56:26 2016 +0100 +++ b/mercurial/commands.py Wed Mar 09 02:07:40 2016 +0000 @@ -6320,7 +6320,7 @@ [('A', 'accesslog', '', _('name of access log file to write to'), _('FILE')), ('d', 'daemon', None, _('run server in background')), - ('', 'daemon-postexec', '', _('used internally by daemon mode')), + ('', 'daemon-postexec', [], _('used internally by daemon mode')), ('E', 'errorlog', '', _('name of error log file to write to'), _('FILE')), # use string type, then we can check if something was passed ('p', 'port', '', _('port to listen on (default: 8000)'), _('PORT')),