Author: justi9
Date: 2010-06-07 09:31:09 -0400 (Mon, 07 Jun 2010)
New Revision: 4011
Modified:
mgmt/newdata/cumin/python/cumin/config.py
Log:
Make --debug a no-param flag
Modified: mgmt/newdata/cumin/python/cumin/config.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/config.py 2010-06-07 13:29:55 UTC (rev 4010)
+++ mgmt/newdata/cumin/python/cumin/config.py 2010-06-07 13:31:09 UTC (rev 4011)
@@ -77,7 +77,7 @@
self.add_option("--model", default=section.model)
self.add_option("--log-file", default=section.log_file)
self.add_option("--log-level", default=section.log_level)
- self.add_option("--debug", default=section.debug)
+ self.add_option("--debug", action="store_true",
default=section.debug)
self.add_option("--init-only", action="store_true")
def setup_logging(values):
Show replies by date