The --verbose argument to the demo scripts doesn't take arguments.
authorW. Trevor King <wking@tremily.us>
Thu, 26 Apr 2012 17:17:02 +0000 (13:17 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 26 Apr 2012 17:17:02 +0000 (13:17 -0400)
doc/demo/pycomedi_demo_args.py

index 4a24863a7b1081243550e92c1a23e080e56770db..4b59b310fcf1173135ec8b665b883edda45365f7 100644 (file)
@@ -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):