Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
MIT License
35.5k
stars
2.15k
forks
source link
update details to print either command or option #21648
Improves errors on unknown arguments. Make passing an unknown option directly after v print a similar message like it does for an known command, pointing to v help.
Current:
Command:
❯ v xyz
v: unknown command `xyz`
Run v help for usage.
Options
❯ v -xyz
Unknown argument `-xyz`
Updated:
.
❯ v -xyz
v: unknown option `-xyz`
Run v help for usage.
Improves errors on unknown arguments. Make passing an unknown option directly after v print a similar message like it does for an known command, pointing to
v help
.Current:
Updated: