option detection
- Dominant language
- Python
- Stars
- 339
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
Right now i tried ```mbed new -mbedlib .``` with the intention to use os2,
but the outcoming shows, it is os5 as a file mbed-os.lib is created with the according link.
I just typed ```-mbedlib``` instead of ```--mbedlib```.
I would expect an error telling me that the option is unknown.
I suspect, this is a quite general bug not specific to the command ```new```.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce `mbed new -mbedlib .` and inspect the mbed CLI option parsing used by `new`, then check whether the same behavior occurs in other commands. Done means an unrecognized single-dash option reports an error and does not create or select `mbed-os.lib`; add regression coverage for the rejected option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100