1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cli: improvements to help and error messages (#6375)

This commit is contained in:
Lukas Neubert
2020-09-16 22:01:44 +02:00
committed by GitHub
parent 608df40058
commit 2464deec82
5 changed files with 27 additions and 27 deletions

View File

@@ -269,7 +269,7 @@ fn (cmds []Command) get(name string) ?Command {
return cmd
}
}
return error('Command `$name` not found')
return error('Command `$name` not found in $cmds')
}
fn (cmds []Command) contains(name string) bool {