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

Consider adding warnings for unused option items #1055

Closed
upsuper opened this issue Oct 2, 2017 · 1 comment
Closed

Consider adding warnings for unused option items #1055

upsuper opened this issue Oct 2, 2017 · 1 comment

Comments

@upsuper
Copy link
Contributor

upsuper commented Oct 2, 2017

It is easy to find that you need to whitelist, blacklist, opaque, etc. something but you forget to, but it is much harder to catch when you forget to remove something from the list.

I think it would be helpful to display some warning information when an item doesn't match anything, so that users are aware that they can remove them.

This may need support from regex crate, I guess. On the API side, I think we can add a new function to Bindings to get that information.

@pvdrz
Copy link
Contributor

pvdrz commented Sep 20, 2022

Fixed via #1469

@pvdrz pvdrz closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants