Open
Description
The man page for -L file
says:
Options are also accepted in this input.
This is a problem with real files with uncommon names like -X
:
% printf '%s\n' '-X' | ctags -L -
ctags: Unknown option: -X
I've tried passing in --
in front to ignore filenames like -X
, but this results in:
% printf '%s\n' '--' '-X' | ctags -L -
ctags: Unknown option: --
I think -L -
should either not accept/handle options (backward incompatible?), or skip option parsing after --
.
My use case is using rg --files | ctags --links=no -L -
to generate tags.