[Zope-Checkins] CVS: ZODB3/ZEO - runsvr.py:1.22

Guido van Rossum guido@python.org
Fri, 3 Jan 2003 16:00:52 -0500


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv11051

Modified Files:
	runsvr.py 
Log Message:
Ouch!  I never tested the long options.  The leading double dash
should not be in the list of options passed to getopt()!


=== ZODB3/ZEO/runsvr.py 1.21 => 1.22 ===
--- ZODB3/ZEO/runsvr.py:1.21	Thu Jan  2 13:24:44 2003
+++ ZODB3/ZEO/runsvr.py	Fri Jan  3 16:00:49 2003
@@ -94,7 +94,7 @@
 
     # Default set of options.  Subclasses should override.
     _short_options = "C:h"
-    _long_options = ["--configuration=", "--help"]
+    _long_options = ["configuration=", "help"]
 
     def handle_option(self, opt, arg):
         """Handle one option.  Subclasses should override.
@@ -158,10 +158,10 @@
 
     _short_options = "a:C:f:h"
     _long_options = [
-        "--address=",
-        "--configuration=",
-        "--filename=",
-        "--help",
+        "address=",
+        "configuration=",
+        "filename=",
+        "help",
         ]
 
     def handle_option(self, opt, arg):