artiq/tools/verbosity_args: add help

This commit is contained in:
Sebastien Bourdeauducq 2015-02-04 19:09:37 +08:00
parent 0e65f71705
commit 0ba07e67b8

View File

@ -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):