patchelf
patchelf copied to clipboard
Fix wrong completion
Sorry for a typo. According to https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Completion-Functions's _arguments, --long-option[description of option]:name of argument:completion method should have 2 :s, not 3. Anyone can use patchelf --set-interpreter <TAB> to trigger this bug. And patchelf --print-* should be followed by a elf name: print some information about this elf then exit. So it shouldn't complete any other option (-), but should complete elf name (not (- : *), (*) will stop complete elf name).
@edolstra @Mic92 @domenkozar @brenoguim Any problem?
No just lack of time. Things will get better next month.