[Zope3-checkins] CVS: Zope/lib/python/zdaemon - zdctl.py:1.53

Fred L. Drake, Jr. fred at zope.com
Tue May 4 15:03:27 EDT 2004


Update of /cvs-repository/Zope/lib/python/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv11804

Modified Files:
	zdctl.py 
Log Message:
see collector issue 1310:
- fix help text *correctly*
- add long option to correspond to -S


=== Zope/lib/python/zdaemon/zdctl.py 1.52 => 1.53 ===
--- Zope/lib/python/zdaemon/zdctl.py:1.52	Tue May  4 14:57:07 2004
+++ Zope/lib/python/zdaemon/zdctl.py	Tue May  4 15:03:26 2004
@@ -18,8 +18,8 @@
        [zdrun-options] [action [arguments]]
 
 Options:
--C/--configfile URL -- configuration file or URL
--S/--schemafile XML Schema -- XML schema for configuration file
+-C/--configure URL -- configuration file or URL
+-S/--schema XML Schema -- XML schema for configuration file
 -h/--help -- print usage message and exit
 -b/--backoff-limit SECONDS -- set backoff limit to SECONDS (default 10)
 -d/--daemon -- run as a proper daemon; fork a subprocess, close files etc.
@@ -72,7 +72,8 @@
 
     def __init__(self):
         RunnerOptions.__init__(self)
-        self.add("schemafile", short="S:", default="schema.xml",
+        self.add("schemafile", short="S:", long="schema=",
+                 default="schema.xml",
                  handler=self.set_schemafile)
         self.add("interactive", None, "i", "interactive", flag=1)
         self.add("default_to_interactive", "runner.default_to_interactive",




More information about the Zope3-Checkins mailing list