Closed marcin-github closed 5 months ago
Option -X
does not accept an argument, it only assumes the default .gitignore
is used.
An optional FILE
argument can be specified with the --ignore-files
long option using the =
sign. The short -X
option is the same as --ignore-files
but does not accept a FILE
argument. If we want to change -X
to accept a FILE
argument then -X
must always accept a FILE
argument (which I don't prefer). We could do a -X=FILE
, but that is not a standard convention.
Thank you for explanation.
Thanks for reporting, since questions like these help to improve the help pages. I've updated the help and man pages to make it more clear that -X
does not take an argument.
Hi, I'm playing with ugrep (-indexer) and I noticed that option "-X" doesn't work. Option "--ignore-files" works as documented:
and with -X