You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For bug reports, I have checked if the bug is reproducible in the latest version of fzf
Output of fzf --version
0.46.1
OS
Linux
macOS
Windows
Etc.
Shell
bash
zsh
fish
Problem / Steps to reproduce
Expected behavior:
There is an option to provide the latest fzf functions in the script without behavior like the unknown option: --wrap
Current behavior: There seems to be no such option or other ways to pass parameters safely.
Note: I use the latest version specified for my distribution
The text was updated successfully, but these errors were encountered:
zoodogood
changed the title
Add --ignore-unknown-options or --ignore-options $options,
Add --ignore-unknown-options or --assert-exists-options $options,
Nov 30, 2024
Even if we add such an option to fzf, you won't have it unless you upgrade your fzf to the latest version on GitHub (you can just download the binary and put it in your $PATH). And once you upgrade, you have all the options previously unavailable to you. So I don't really see the point of such an option.
If you need this because you want to distribute your script that requires some options to a group of users, your script should check the version number of the fzf installed on the user's system (fzf --version) and act accordingly.
Checklist
man fzf
)Output of
fzf --version
0.46.1
OS
Shell
Problem / Steps to reproduce
Expected behavior:
There is an option to provide the latest fzf functions in the script without behavior like the
unknown option: --wrap
Current behavior: There seems to be no such option or other ways to pass parameters safely.
Note: I use the latest version specified for my distribution
The text was updated successfully, but these errors were encountered: