Detect the argument "-name" is actually "--name"
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Is your feature request related to a problem? Please describe.**
Please refer to link here: https://azuretracking.visualstudio.com/Azure%20tracking/_workitems/edit/1528
Users frustrated when typing in az webapp up -name MyWebApp and being thrown with _az: error: unrecognized arguments: MyWebApp_
The more appropriate and expected error is surfacing that "-name" is misspelled and that it should be "--name"
**Describe the solution you'd like**
Being able to detect that "-[argument]" is in fact "--[argument]" and surface the recommendation in the error output
**Describe alternatives you've considered**
N/A
**Additional context**
Have had discussions around this previously, thought of revisiting this since it's still unresolved for python/webapp team
Contributor guide
Assessment
This issue has not been assessed yet.