Skip to content
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

Question: Excluding error codes #280

Open
naher94 opened this issue Mar 8, 2025 · 3 comments
Open

Question: Excluding error codes #280

naher94 opened this issue Mar 8, 2025 · 3 comments

Comments

@naher94
Copy link

naher94 commented Mar 8, 2025

Another question. Is there a way to skip certain error codes? I notice there is an include (--accept) but didn't see an exclude for codes.

@mre
Copy link
Member

mre commented Mar 8, 2025

Nope, there's just --accept. What should the new parameter be called? Would it take preference over --accept?

@naher94
Copy link
Author

naher94 commented Mar 8, 2025

Could be called --deny and seems reasonable to follow the same logic of --include "Has preference over all excludes". In this case --accept would take preference, if specified, over --deny

--include
URLs to check (supports regex). Has preference over all excludes

What do we think?

@mre
Copy link
Member

mre commented Mar 9, 2025

Yeah, makes sense to me. I will let this cook for a while to see what other people are thinking. Anyone else who's interested in this, please add a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants