mercurial/commands.py
changeset 2124 27fd8b7a6c51
parent 2122 9383ba6b069a
child 2125 3610d9468b1e
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2566,7 +2566,8 @@ def serve(ui, repo, **opts):
                 r = repo.addchangegroup(fin)
                 respond(str(r))
 
-    optlist = "name templates style address port ipv6 accesslog errorlog webdir_conf"
+    optlist = """name templates style address port
+                 ipv6 accesslog errorlog webdir_conf"""
     for o in optlist.split():
         if opts[o]:
             ui.setconfig("web", o, opts[o])
@@ -3127,7 +3128,8 @@ table = {
           ('a', 'address', '', _('address to use')),
           ('n', 'name', '',
            _('name to show in web pages (default: working dir)')),
-          ('D', 'webdir-conf', '', _('name of the webdir config file (serve more than one repo)')),
+          ('', 'webdir-conf', '', _('name of the webdir config file'
+                                    ' (serve more than one repo)')),
           ('', 'pid-file', '', _('name of file to write process ID to')),
           ('', 'stdio', None, _('for remote clients')),
           ('t', 'templates', '', _('web templates to use')),