[Zodb-checkins] SVN: zdaemon/trunk/src/zdaemon/zdctl.py Make zeoctl --help work.

Chris Withers chris at simplistix.co.uk
Thu Apr 9 12:46:16 EDT 2009


Log message for revision 99051:
  Make zeoctl --help work.

Changed:
  U   zdaemon/trunk/src/zdaemon/zdctl.py

-=-
Modified: zdaemon/trunk/src/zdaemon/zdctl.py
===================================================================
--- zdaemon/trunk/src/zdaemon/zdctl.py	2009-04-09 16:44:56 UTC (rev 99050)
+++ zdaemon/trunk/src/zdaemon/zdctl.py	2009-04-09 16:46:16 UTC (rev 99051)
@@ -100,6 +100,9 @@
         self.add("prompt", "runner.prompt", default=(programname + ">"))
 
     def realize(self, *args, **kwds):
+        
+        kwds['doc']=kwds.get('doc',__doc__)
+        
         RunnerOptions.realize(self, *args, **kwds)
 
         # Maybe the config file requires -i or positional args



More information about the Zodb-checkins mailing list