From 0ba07e67b80256b8d09150db29f6512ff29089fa Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 4 Feb 2015 19:09:37 +0800 Subject: [PATCH] artiq/tools/verbosity_args: add help --- artiq/tools.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/artiq/tools.py b/artiq/tools.py index fb049f835..384ae9f09 100644 --- a/artiq/tools.py +++ b/artiq/tools.py @@ -32,8 +32,10 @@ def file_import(filename): def verbosity_args(parser): group = parser.add_argument_group("verbosity") - group.add_argument("-v", "--verbose", default=0, action="count") - group.add_argument("-q", "--quiet", default=0, action="count") + group.add_argument("-v", "--verbose", default=0, action="count", + help="increase logging level") + group.add_argument("-q", "--quiet", default=0, action="count", + help="decrease logging level") def init_logger(args):