refactor: subdivide injection functions

This commit is contained in:
Julian Lobbes committed 2022-11-27 13:51:43 +01:00
1 parent 76eb606c97
commit 21f68af0e7
5 files changed
+77 -71

No files matched your search

+4 -3
View File
@@ -62,11 +62,12 @@ def get_argument_parser():
# register arguments for the 'inject' subcommand
subparser_inject.add_argument(
"PRESEEDFILE",
"FILES",
action='store',
type=str,
metavar='PRESEEDFILE',
help="Path to the preseed file you want to inject",
nargs='+',
metavar='FILES',
help="Paths to all input files you want to inject",
)
subparser_inject.add_argument(
"-i",