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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user