[Zope-Checkins] SVN: Zope/trunk/src/Zope2/Startup/zopectl.py make zopectl -h work once the new zdaemon release is used.
Chris Withers
chris at simplistix.co.uk
Thu Apr 9 21:00:10 EDT 2009
Log message for revision 99068:
make zopectl -h work once the new zdaemon release is used.
Changed:
U Zope/trunk/src/Zope2/Startup/zopectl.py
-=-
Modified: Zope/trunk/src/Zope2/Startup/zopectl.py
===================================================================
--- Zope/trunk/src/Zope2/Startup/zopectl.py 2009-04-10 00:30:16 UTC (rev 99067)
+++ Zope/trunk/src/Zope2/Startup/zopectl.py 2009-04-10 01:00:10 UTC (rev 99068)
@@ -56,12 +56,14 @@
return arg.split()
class ZopeCtlOptions(ZDOptions):
- """Zope controller options.
+ # Zope controller options.
+ #
+ # After initialization, this should look very much like a
+ # zdaemon.zdctl.ZDCtlOptions instance. Many of the attributes are
+ # initialized from different sources, however.
- After initialization, this should look very much like a
- zdaemon.zdctl.ZDCtlOptions instance. Many of the attributes are
- initialized from different sources, however.
- """
+ __doc__ = __doc__
+
positional_args_allowed = 1
program = "zopectl"
@@ -73,7 +75,7 @@
# same logging for zdctl as for the Zope appserver. There still
# needs to be a way to set a logfile for zdctl.
logsectionname = None
-
+
def __init__(self):
ZDOptions.__init__(self)
self.add("program", "runner.program", "p:", "program=",
More information about the Zope-Checkins
mailing list