-
Notifications
You must be signed in to change notification settings - Fork 387
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
CLI is silent when passed an unrecognized option #271
Comments
Indeed, this is how Interested in sending PR? |
I won't have time to send a PR but the issue is not critical so feel free to close, I just wanted to make it known. |
Let’s leave it open as a known bug. Maybe someone will pick it up ;)
… On 22 Aug 2018, at 09:36, Sébastien Dubois ***@***.***> wrote:
I won't have time to send a PR but the issue is not critical so feel free to close, I just wanted to make it known.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@tricoder42 , it seems like something that I can contribute(trying to familiarize myself more with the project) |
@dephiros That would be awesome! See the linked comment, there're some possible solutions. |
@tricoder42 , should we address this with just return error or try to be more fancy with fuzzy match and return closest subcommands? With the fuzzy match, that would require an additional lib like |
Sounds interesting! It's a backend code so I don't mind extra dependency. Feel free to do it if you're interested 👍 |
@tricoder42 , I am almost done with the pull request but stuck at a strange unit test failure: https://circleci.com/gh/lingui/js-lingui/2224?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link |
@dephiros I think you don't need to worry about that one, I've seen that failing before as well. There is something broken in general it seems. Just hold tight and @tricoder42 will surely merge it soon. |
Describe the bug
The
lingui
CLI is silent when it is passed an unrecognized option.To Reproduce
$ lingui foo
Expected behavior
The CLI should display an error.
lingui --version
: 2.4.1The text was updated successfully, but these errors were encountered: