mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
ukify: Require specifying --tools for each tools directory
Instead of consuming N arguments as tools directories, let's always only consume one argument per specification of --tools. This avoids issues where the linux image and initrd are interpreted as tools directories.
This commit is contained in:
parent
737dab1a8d
commit
4f312ba07b
@ -687,7 +687,7 @@ usage: ukify [options…] linux initrd…
|
||||
|
||||
p.add_argument('--tools',
|
||||
type=pathlib.Path,
|
||||
nargs='+',
|
||||
action='append',
|
||||
help='Directories to search for tools (systemd-measure, llvm-objcopy, ...)')
|
||||
|
||||
p.add_argument('--output', '-o',
|
||||
|
Loading…
Reference in New Issue
Block a user