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

cli: minor fixes

This commit is contained in:
Alexander Medvednikov 2020-04-02 16:04:53 +02:00
parent d5b2eb3c23
commit f087e819d7
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ fn help_cmd() Command {
}
}
fn help_func(help_cmd cli.Command) {
cmd := help_cmd.parent
fn help_func(help_cmd Command) {
cmd := help_cmd.parent
full_name := cmd.full_name()
mut help := ''

View File

@ -18,7 +18,7 @@ fn version_cmd() Command {
}
}
fn version_func(version_cmd cli.Command) {
fn version_func(version_cmd Command) {
cmd := version_cmd.parent
version := '${cmd.name} v${cmd.version}'
println(version)