vpm: handle -v as well as -verbose
parent
abb15275f5
commit
0de70e8b2c
|
@ -428,7 +428,7 @@ fn init_settings() {
|
||||||
s = settings
|
s = settings
|
||||||
}
|
}
|
||||||
s.is_help = '-h' in os.args || '--help' in os.args || 'help' in os.args
|
s.is_help = '-h' in os.args || '--help' in os.args || 'help' in os.args
|
||||||
s.is_verbose = '-verbose' in os.args || '--verbose' in os.args
|
s.is_verbose = '-verbose' in os.args || '--verbose' in os.args || '-v' in os.args
|
||||||
s.server_urls = cmdline.options(os.args, '-server-url')
|
s.server_urls = cmdline.options(os.args, '-server-url')
|
||||||
s.vmodules_path = os.home_dir() + '.vmodules'
|
s.vmodules_path = os.home_dir() + '.vmodules'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue