Skip to content

Commit 513630d

Browse files
RocketMaDevMic92
authored andcommitted
correct patchelf argument completions
1 parent 4a6e1fd commit 513630d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

completions/zsh/_patchelf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function _get_dep() {
2121
}
2222

2323
local options=(
24-
'--page-size[Uses the given page size]:SIZE'
24+
'--page-size[Uses the given page size]:SIZE:'
2525
'--set-interpreter[Change the dynamic loader of executable]:INTERPRETER:_files'
2626
'(- : *)--print-interpreter[Prints the ELF interpreter of the executable]'
2727
'(- : *)--print-os-abi[Prints the OS ABI of the executable]'
@@ -38,14 +38,14 @@ local options=(
3838
'--add-needed[Adds a declared dependency on a dynamic library]:LIBRARY:_files'
3939
'*--replace-needed[Replaces a declared dependency on a dynamic library with another one]:LIB_ORIG:_get_dep:LIB_NEW:_files'
4040
'--remove-needed[Removes a declared dependency on LIBRARY]:LIBRARY:_get_dep'
41-
'(- : *)--print-needed[Prints all DT_NEEDED entries of the executable]:ELF:_files'
41+
'(- : *)--print-needed[Prints all DT_NEEDED entries of the executable]'
4242
'--no-default-lib[Marks the object so that the search for dependencies of this object will ignore any default library search paths]'
4343
'--no-sort[Do not sort program headers or section headers]'
4444
'--add-debug-tag[Adds DT_DEBUG tag to the .dynamic section if not yet present in an ELF object]'
4545
'(- : *)--print-execstack[Prints the state of the executable flag of the GNU_STACK program header, if present]'
4646
'--clear-execstack[Clears the executable flag of the GNU_STACK program header, or adds a new header]'
4747
'--set-execstack[Sets the executable flag of the GNU_STACK program header, or adds a new header]'
48-
'--rename-dynamic-symbols[Renames dynamic symbols]:NAME_MAP_FILE:'
48+
'--rename-dynamic-symbols[Renames dynamic symbols]:NAME_MAP_FILE:_files'
4949
'--output[Set the output file name]:FILE:_files'
5050
'--debug[Prints details of the changes made to the input file]'
5151
'--version[Shows the version of patchelf]'

0 commit comments

Comments
 (0)