diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 15:09:48 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 15:09:48 +0100 |
commit | 67c8c17009f0cbc02e4638e491ec09592c0de274 (patch) | |
tree | 3b60c70a500aa851ad28306109603afbded7da5e | |
parent | 502613c0728ef89145a8b9a32d2be48cf4f5d04c (diff) | |
download | nixos-67c8c17009f0cbc02e4638e491ec09592c0de274.tar nixos-67c8c17009f0cbc02e4638e491ec09592c0de274.tar.gz nixos-67c8c17009f0cbc02e4638e491ec09592c0de274.tar.bz2 nixos-67c8c17009f0cbc02e4638e491ec09592c0de274.tar.xz nixos-67c8c17009f0cbc02e4638e491ec09592c0de274.zip |
vidhar: ...
-rw-r--r-- | modules/zfssnap/zfssnap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 86690127..e411168c 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py | |||
@@ -237,7 +237,7 @@ def main(): | |||
237 | rename_parser.add_argument('snapshots', nargs='+') | 237 | rename_parser.add_argument('snapshots', nargs='+') |
238 | rename_parser.set_defaults(cmd=rename) | 238 | rename_parser.set_defaults(cmd=rename) |
239 | prune_parser = subparsers.add_parser('prune') | 239 | prune_parser = subparsers.add_parser('prune') |
240 | prune_parser.add_argument('--config', '-c', dest='config_files', type=argparse.FileType('r'), nargs='*', default=list()) | 240 | prune_parser.add_argument('--config', '-c', dest='config_files', nargs='*', default=list()) |
241 | prune_parser.add_argument('--dry-run', '-n', action='store_true', default=False) | 241 | prune_parser.add_argument('--dry-run', '-n', action='store_true', default=False) |
242 | prune_parser.set_defaults(cmd=prune) | 242 | prune_parser.set_defaults(cmd=prune) |
243 | args = parser.parse_args() | 243 | args = parser.parse_args() |