vpm: handle -v as well as -verbose

pull/4970/head
Delyan Angelov 2020-05-21 08:30:38 +03:00
parent abb15275f5
commit 0de70e8b2c
1 changed files with 1 additions and 1 deletions

View File

@ -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'
} }