CLI is silent when passed an unrecognized option
See original GitHub issueDescribe 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.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Unknown CLI flag when using custom CLI options · Issue #2694
This is intentional to give the user basic feedback about typos or deprecated options and will therefore not go away.
Read more >C - how to allow unrecognized options in Argp or Getopt?
I'd like to pass all unrecognized options to FUSE (because it has its own options). Can I do that using argp or getopt...
Read more >2.2.7 Unrecognized Command-Line Arguments
Any arguments on the command-line that the compiler does not recognize are interpreted as being possibly linker options, object program file names, ...
Read more >Command-line syntax overview for System.CommandLine
An option is a named parameter that can be passed to a command. ... Cannot parse argument 'silent' for option '-v' as expected...
Read more >CLI - Prettier
Use the `prettier` command to run Prettier from the command line. ... options like --single-quote and --trailing-comma instead of passing them as CLI...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
Released in v2.7.0. Thanks @dephiros!