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

Suggest similarly named options #6

Open
PhilippWendler opened this issue Dec 21, 2015 · 0 comments
Open

Suggest similarly named options #6

PhilippWendler opened this issue Dec 21, 2015 · 0 comments

Comments

@PhilippWendler
Copy link
Member

When a user mistypes a configuration option, we could suggest other options that are named similarly to the unknown option.

We could use a string distance such as Levenshtein's one to find the option with the most similar name and display that one.

Guava might add a function for computing string distances (google/guava#1175), we could use this when it is actually in Guava.

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

No branches or pull requests

1 participant