forked from M-Labs/artiq
artiq/tools/verbosity_args: add help
This commit is contained in:
parent
0e65f71705
commit
0ba07e67b8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue