Update of /cvsroot/mailman/mailman3/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv702

Modified Files:
        qrunner 
Log Message:
parseargs(): Add the -q flag and propagate that to the configuration object.


Index: qrunner
===================================================================
RCS file: /cvsroot/mailman/mailman3/bin/qrunner,v
retrieving revision 3.2
retrieving revision 3.3
diff -u -d -r3.2 -r3.3
--- qrunner     1 May 2004 18:10:56 -0000       3.2
+++ qrunner     1 May 2004 18:29:05 -0000       3.3
@@ -162,6 +162,9 @@
 This should only be used when running qrunner as a subprocess of the
 mailmanctl startup script.  It changes some of the exit-on-error
 behavior to work better with that framework."""))
+    parser.add_option('-q', '--quiet', default=False,
+                      action='store_true',
+                      help=_("Don't print status messages."))
     # BAW: a hack to make formatted help fit in an Emacs buffer better
     parser.formatter.width -= 1
     parser.formatter.help_width -= 1
@@ -247,6 +250,7 @@
 
 if __name__ == '__main__':
     options, parser = parseargs()
+    configuration.quiet = options.quiet
     configuration.configure(options.configfile)
     startup.startup()
     log = logging.getLogger('mailman.queues')


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to