From: W. Trevor King Date: Thu, 26 Apr 2012 17:17:02 +0000 (-0400) Subject: The --verbose argument to the demo scripts doesn't take arguments. X-Git-Tag: 0.5~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c651a54a0af33b8c0789d8f9037a2c58f344414;p=pycomedi.git The --verbose argument to the demo scripts doesn't take arguments. --- diff --git a/doc/demo/pycomedi_demo_args.py b/doc/demo/pycomedi_demo_args.py index 4a24863..4b59b31 100644 --- a/doc/demo/pycomedi_demo_args.py +++ b/doc/demo/pycomedi_demo_args.py @@ -92,7 +92,8 @@ ARGUMENTS = { 'reading/writing the input/output subdevice directly')}), 'verbose':( ['-v', '--verbose'], - {'action':_IncrementVerbosityAction}), + {'action':_IncrementVerbosityAction, + 'nargs':0}), } def parse_args(description, argnames, args=None):