mirror of https://github.com/digint/btrbk
btrbk_restore_raw.py: reorder options
parent
dec5868a95
commit
20ffc23ad3
|
@ -195,10 +195,10 @@ def main():
|
||||||
" backups the parent files must be in the same directory")
|
" backups the parent files must be in the same directory")
|
||||||
parser.add_argument('restore_dir', help="target directory for restored subvolumes"
|
parser.add_argument('restore_dir', help="target directory for restored subvolumes"
|
||||||
" (path argument for \"btrfs receive\")")
|
" (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',
|
parser.add_argument('--ignore-missing', action='store_true',
|
||||||
help="do not fail on missing parent snapshots")
|
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:
|
for transformer in TRANSFORMERS:
|
||||||
transformer.add_parser_options(parser)
|
transformer.add_parser_options(parser)
|
||||||
|
|
Loading…
Reference in New Issue