We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c169461 commit 9559bbcCopy full SHA for 9559bbc
extract.py
@@ -30,6 +30,12 @@
30
help='Partitions to extract',
31
default=DEFAULT_EXTRACTED_PARTITIONS,
32
)
33
+parser.add_argument(
34
+ '--extra-partitions',
35
+ nargs='+',
36
+ type=str,
37
+ help='Extra partitions to extract',
38
+)
39
40
parser.add_argument(
41
'source',
@@ -41,9 +47,13 @@
47
if __name__ == '__main__':
42
48
args = parser.parse_args()
43
49
50
+ extract_partitions = args.partitions
51
+ if args.extra_partitions is not None:
52
+ extract_partitions += args.extra_partitions
53
+
44
54
ctx = ExtractCtx(
45
55
keep_dump=True,
46
- extract_partitions=args.partitions,
56
+ extract_partitions=extract_partitions,
57
58
59
with get_dump_dir(args.source, ctx) as dump_dir:
0 commit comments