fzf icon indicating copy to clipboard operation
fzf copied to clipboard

`--help`-output and manpages are both out of sync with the actual code

Open calestyo opened this issue 8 months ago • 2 comments

  • [x] I have the latest version of fzf
  • [x] I have searched through the existing issues

Problem / Steps to reproduce

While preparing a commit to update fzf’s own bash completion, I've noted that the --help-output and manpages are also outdated.

It seems that both, "fixed" values (like e.g. no for --color), and options (like e.g. --algo in the --help-output and --no-black in the manpage).

Whoever takes this work up … when being lazy and trying to "automate" this a bit:

$ cat ./fzf.1 | tr -d "\"'" | xargs -n 1 | sort -u | grep '^--'

may e.g. be used to find out all options that are in the manpage.

Cheers, Chris.

calestyo avatar Oct 09 '23 23:10 calestyo