From 47f36041de46755c0485d46f73903e706ec5a51c Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Mon, 23 Jul 2007 22:05:46 +0000 Subject: [PATCH] Oops, --log-{info,debug}= args need to accept values... --- test/testlib/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testlib/config.py b/test/testlib/config.py index ca24a72560..f05cda46d3 100644 --- a/test/testlib/config.py +++ b/test/testlib/config.py @@ -81,9 +81,9 @@ opt = parser.add_option opt("--verbose", action="store_true", dest="verbose", help="enable stdout echoing/printing") opt("--quiet", action="store_true", dest="quiet", help="suppress output") -opt("--log-info", action="callback", callback=_log, +opt("--log-info", action="callback", type="string", callback=_log, help="turn on info logging for (multiple OK)") -opt("--log-debug", action="callback", callback=_log, +opt("--log-debug", action="callback", type="string", callback=_log, help="turn on debug logging for (multiple OK)") opt("--require", action="append", dest="require", default=[], help="require a particular driver or module version (multiple OK)") -- 2.47.3