summaryrefslogtreecommitdiff
path: root/modules/zfssnap
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zfssnap')
-rw-r--r--modules/zfssnap/zfssnap/zfssnap/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap/zfssnap/__main__.py b/modules/zfssnap/zfssnap/zfssnap/__main__.py
index 59478c71..ab3a2f66 100644
--- a/modules/zfssnap/zfssnap/zfssnap/__main__.py
+++ b/modules/zfssnap/zfssnap/zfssnap/__main__.py
@@ -375,7 +375,7 @@ def main():
375 sys.excepthook = log_exceptions 375 sys.excepthook = log_exceptions
376 376
377 parser = argparse.ArgumentParser(prog='zfssnap') 377 parser = argparse.ArgumentParser(prog='zfssnap')
378 parser.add_argument('--verbosity', dest='log_level', action='append') 378 parser.add_argument('--verbosity', dest='log_level', action='append', type=int)
379 parser.add_argument('--verbose', '-v', dest='log_level', action='append_const', const=-1) 379 parser.add_argument('--verbose', '-v', dest='log_level', action='append_const', const=-1)
380 parser.add_argument('--quiet', '-q', dest='log_level', action='append_const', const=1) 380 parser.add_argument('--quiet', '-q', dest='log_level', action='append_const', const=1)
381 subparsers = parser.add_subparsers() 381 subparsers = parser.add_subparsers()