summaryrefslogtreecommitdiff
path: root/modules/borgsnap
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-01 22:49:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-01 22:49:20 +0100
commit2af7916d00281ae521cad1ee2881dbbe0e0c3dfa (patch)
treeccdcdfcf2c1675e520dd94423a7bdde0fc901727 /modules/borgsnap
parent7448d3431fcfc05f9b7991e337b02083300a99db (diff)
downloadnixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar
nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.gz
nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.bz2
nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.tar.xz
nixos-2af7916d00281ae521cad1ee2881dbbe0e0c3dfa.zip
...
Diffstat (limited to 'modules/borgsnap')
-rw-r--r--modules/borgsnap/borgsnap/borgsnap/__main__.py2
1 files changed, 1 insertions, 1 deletions
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():
357 sys.excepthook = log_exceptions 357 sys.excepthook = log_exceptions
358 358
359 parser = argparse.ArgumentParser(prog='borgsnap') 359 parser = argparse.ArgumentParser(prog='borgsnap')
360 parser.add_argument('--verbosity', dest='log_level', action='append') 360 parser.add_argument('--verbosity', dest='log_level', action='append', type=int)
361 parser.add_argument('--verbose', '-v', dest='log_level', action='append_const', const=-1) 361 parser.add_argument('--verbose', '-v', dest='log_level', action='append_const', const=-1)
362 parser.add_argument('--quiet', '-q', dest='log_level', action='append_const', const=1) 362 parser.add_argument('--quiet', '-q', dest='log_level', action='append_const', const=1)
363 parser.add_argument('--target', metavar='REPO', default='yggdrasil.borgbase:repo') 363 parser.add_argument('--target', metavar='REPO', default='yggdrasil.borgbase:repo')