From 2af7916d00281ae521cad1ee2881dbbe0e0c3dfa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 1 Nov 2022 22:49:20 +0100 Subject: ... --- modules/borgsnap/borgsnap/borgsnap/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/borgsnap') diff --git a/modules/borgsnap/borgsnap/borgsnap/__main__.py b/modules/borgsnap/borgsnap/borgsnap/__main__.py index 4b50cf80..1a4cc41f 100644 --- a/modules/borgsnap/borgsnap/borgsnap/__main__.py +++ b/modules/borgsnap/borgsnap/borgsnap/__main__.py @@ -357,7 +357,7 @@ def main(): sys.excepthook = log_exceptions parser = argparse.ArgumentParser(prog='borgsnap') - parser.add_argument('--verbosity', dest='log_level', action='append') + parser.add_argument('--verbosity', dest='log_level', action='append', type=int) parser.add_argument('--verbose', '-v', dest='log_level', action='append_const', const=-1) parser.add_argument('--quiet', '-q', dest='log_level', action='append_const', const=1) parser.add_argument('--target', metavar='REPO', default='yggdrasil.borgbase:repo') -- cgit v1.2.3