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)