mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cmd/v: fix -version
and -v
collision
This commit is contained in:
parent
91378583cc
commit
e37fed437d
@ -77,8 +77,7 @@ fn parse_flags(flag string, f mut flag.Instance, prefs mut flag.MainCmdPreferenc
|
||||
f.is_equivalent_to(['h', 'help'])
|
||||
prefs.action = .help
|
||||
}
|
||||
'v', 'version' {
|
||||
f.is_equivalent_to(['v', 'version'])
|
||||
'version' {
|
||||
prefs.action = .version
|
||||
}
|
||||
'-version', '-help' {
|
||||
|
Loading…
Reference in New Issue
Block a user