idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
13.29k stars 794 forks source link

Parser doesn't handle less's (and probably vim's?) "plus" arguments #320

Open ELLIOTTCABLE opened 1 year ago

ELLIOTTCABLE commented 1 year ago

This example behaves poorly:

less +F -S --follow-name some_log_file.log

https://explainshell.com/explain?cmd=less+%2BF+-S+--follow-name+some_log_file.log

image

I didn't have time to check, but iirc vi/vim/neovim have a similar "run command at startup with +flag type of thingie, which I will assume has a similar failure-mode. )=