diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-01 22:49:20 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-11-01 22:49:20 +0100 |
commit | 2af7916d00281ae521cad1ee2881dbbe0e0c3dfa (patch) | |
tree | ccdcdfcf2c1675e520dd94423a7bdde0fc901727 /modules/zfssnap | |
parent | 7448d3431fcfc05f9b7991e337b02083300a99db (diff) | |
download | nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.gz nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.bz2 nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.xz nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.zip |
...
Diffstat (limited to 'modules/zfssnap')
-rw-r--r-- | modules/zfssnap/zfssnap/zfssnap/__main__.py | 2 |
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() |