-
-
Notifications
You must be signed in to change notification settings - Fork 160
Update --accept
behaviour
#1661
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
Comments
Nope, there's just |
Could be called
What do we think? |
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. |
Had some thoughts about this. The documentation and help message read the following:
At the end we can see the default value for this argument. Also its not possible to specify the argument multiple times. ( So currently:
However it would be simpler if lychee would now only accept the status code 123 and deny any others. The drawback of this would be that we break compatibility (probably quite a few people depend on this flag) and it might be less ergonomic for most use cases. If we think these disadvantages are to great I would agree on adding a |
You're probably right. It is odd, that |
--accept
behaviour
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.The text was updated successfully, but these errors were encountered: