The --verbose argument to the demo scripts doesn't take arguments.
[pycomedi.git] / 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):