diff mercurial/commands.py @ 2124:27fd8b7a6c51

Cleaned trailing whitespace in hgweb.py, removed command line shortcut for webdir-conf.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 25 Apr 2006 00:43:40 +0200
parents 9383ba6b069a
children 3610d9468b1e
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Apr 23 00:34:07 2006 +0200
+++ b/mercurial/commands.py	Tue Apr 25 00:43:40 2006 +0200
@@ -2566,7 +2566,8 @@
                 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 @@
           ('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')),