From 2c651a54a0af33b8c0789d8f9037a2c58f344414 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 26 Apr 2012 13:17:02 -0400 Subject: [PATCH] The --verbose argument to the demo scripts doesn't take arguments. --- doc/demo/pycomedi_demo_args.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- 2.26.2