-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--ignore-file doesn't work #684
Comments
This bug report is not actionable. Please include a minimally reproducible example that demonstrates the problem you're experiencing. Please include all inputs, the expected output and the actual output. Please also include the version of ripgrep you're using and the OS you're running. Please make an effort to describe the problem in such a way that others can reproduce it exactly. Next time you file a bug report (on any issue tracker for any project), please answer these questions up front instead of requiring other people to spend time asking for these things. |
Sorry, here's a bit more info, I'm using macOS:
I'm testing this on golang's standard library that contains
I tried Switching to |
Please read the documentation of the flag you're using:
If you want to ignore a specific file or files that end in a certain suffix, then use |
I read the documentation. What is wrong with the way I use |
The If I run the command you provided, ripgrep is telling you that the given ignore file is invalid by spewing a bunch of errors. |
Oh ok I see! I guess I did not understand the phrasing like this. |
Clarified `--ignore-file` to address BurntSushi#684
docs: clarify --ignore-file Fixes #684
Just spent about 30 minutes trying to figure the same thing out. The documentation may be accurate, but still not making it easy to understand it and very easy to confuse. This:
should be in the documentation instead. |
@clehene Could you say what is confusing about the current docs specifically? As far as I can tell, they basically say the same thing as your revision. They even include a tip to use |
@BurntSushi not sure if this is better #817 but the goal is to make the intention clear immediately. I did |
@clehene Interesting! I definitely agree that the flag name is not ideal. You are not the only person I've seen get hung up on this. Let's iterate on the exact re-wording in your PR. :) |
Hello,
The --ignore-file option doesn't work.
The text was updated successfully, but these errors were encountered: