summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:54:19 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:54:19 +0100
commita6086027805a0d440846ef7536bdc45b6da02bdc (patch)
tree1d9d17d3eb305a3902613b1ff81da8d21f8afbce /modules
parent324c66bb75f7c87f4a141854dbe2f0443bc99a8e (diff)
downloadnixos-a6086027805a0d440846ef7536bdc45b6da02bdc.tar
nixos-a6086027805a0d440846ef7536bdc45b6da02bdc.tar.gz
nixos-a6086027805a0d440846ef7536bdc45b6da02bdc.tar.bz2
nixos-a6086027805a0d440846ef7536bdc45b6da02bdc.tar.xz
nixos-a6086027805a0d440846ef7536bdc45b6da02bdc.zip
zfssnap: ...
Diffstat (limited to 'modules')
-rw-r--r--modules/zfssnap/zfssnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py
index 281ff586..a8ad231c 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -287,12 +287,12 @@ def main():
287 rename_parser = subparsers.add_parser('rename') 287 rename_parser = subparsers.add_parser('rename')
288 rename_parser.add_argument('snapshots', nargs='+') 288 rename_parser.add_argument('snapshots', nargs='+')
289 rename_parser.add_argument('--destroy', action='store_true', default=False) 289 rename_parser.add_argument('--destroy', action='store_true', default=False)
290 rename_parser.add_argument('--set-is-auto', action='store_true', default=False)
290 rename_parser.set_defaults(cmd=rename) 291 rename_parser.set_defaults(cmd=rename)
291 prune_parser = subparsers.add_parser('prune') 292 prune_parser = subparsers.add_parser('prune')
292 prune_parser.add_argument('--config', '-c', dest='config_files', nargs='*', default=list()) 293 prune_parser.add_argument('--config', '-c', dest='config_files', nargs='*', default=list())
293 prune_parser.add_argument('--dry-run', '-n', action='store_true', default=False) 294 prune_parser.add_argument('--dry-run', '-n', action='store_true', default=False)
294 prune_parser.add_argument('--keep-newest', action='store_true', default=False) 295 prune_parser.add_argument('--keep-newest', action='store_true', default=False)
295 prune_parser.add_argument('--set-is-auto', action='store_true', default=False)
296 prune_parser.set_defaults(cmd=prune) 296 prune_parser.set_defaults(cmd=prune)
297 args = parser.parse_args() 297 args = parser.parse_args()
298 298