forked from mirrors/nixpkgs
autoPatchelfHook: fix arguments parsing
This commit is contained in:
parent
991a07725b
commit
b852b4fa5a
|
@ -336,9 +336,12 @@ def main() -> None:
|
|||
)
|
||||
parser.add_argument(
|
||||
"--extra-args",
|
||||
nargs="*",
|
||||
# Undocumented Python argparse feature: consume all remaining arguments
|
||||
# as values for this one. This means this argument should always be passed
|
||||
# last.
|
||||
nargs="...",
|
||||
type=str,
|
||||
help="Extra arguments to pass to patchelf"
|
||||
help="Extra arguments to pass to patchelf. This argument should always come last."
|
||||
)
|
||||
|
||||
print("automatically fixing dependencies for ELF files")
|
||||
|
|
Loading…
Reference in a new issue