Skip to content

Commit 2ef49b8

Browse files
authored
tools: improve the output of v install (#19760)
1 parent df8863a commit 2ef49b8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/tools/vpm/install.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fn vpm_install(requested_modules []string, opts []string) {
6969
if already_installed.len > 0 {
7070
verbose_println('Already installed modules: ${already_installed}')
7171
if already_installed.len == modules.len {
72-
verbose_println('All modules are already installed.')
72+
println('All modules are already installed.')
7373
exit(0)
7474
}
7575
}

cmd/tools/vpm/vpm.v

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,13 @@ fn main() {
6767
// args are: vpm [options] SUBCOMMAND module names
6868
params := cmdline.only_non_options(os.args[1..])
6969
options := cmdline.only_options(os.args[1..])
70-
verbose_println('cli params: ${params}')
70+
// dump(params)
7171
if params.len < 1 {
7272
help.print_and_exit('vpm', exit_code: 5)
7373
}
7474
vpm_command := params[0]
7575
mut requested_modules := params[1..].clone()
7676
ensure_vmodules_dir_exist()
77-
// println('module names: ') println(requested_modules)
7877
match vpm_command {
7978
'help' {
8079
help.print_and_exit('vpm')

0 commit comments

Comments
 (0)