pallets / click

Python composable command line interface toolkit
https://click.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
15.62k stars 1.4k forks source link

Wrong error message when wrong multicharacter short option is passed #2779

Open ocervell opened 1 week ago

ocervell commented 1 week ago

Sometime it is usefull to have not only single char short option like -d but something like -dbg.

They are already working as-is (even though not documented), but when passing a wrong option such as -dbgwrong, the error displays: No such option: -d instead of No such option: -dbg.