From 20ffc23ad36e8af85d20497a56f8412e2d4bd0e5 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 6 Aug 2021 23:21:14 +0200 Subject: [PATCH] btrbk_restore_raw.py: reorder options --- contrib/tools/btrbk_restore_raw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tools/btrbk_restore_raw.py b/contrib/tools/btrbk_restore_raw.py index bff12ea..aa75d1d 100755 --- a/contrib/tools/btrbk_restore_raw.py +++ b/contrib/tools/btrbk_restore_raw.py @@ -195,10 +195,10 @@ def main(): " backups the parent files must be in the same directory") parser.add_argument('restore_dir', help="target directory for restored subvolumes" " (path argument for \"btrfs receive\")") + parser.add_argument('-n', '--dry-run', action='store_true', + help="print commmands that would be executed") parser.add_argument('--ignore-missing', action='store_true', help="do not fail on missing parent snapshots") - parser.add_argument('--dry-run', '-n', action='store_true', - help="print commmands that would be executed") for transformer in TRANSFORMERS: transformer.add_parser_options(parser)