vpm: use only `-v` for verbose output

pull/5265/head
Lukas Neubert 2020-06-07 14:20:56 +02:00 committed by GitHub
parent 70c18fc7b2
commit eec5cf1eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 15 deletions

View File

@ -443,7 +443,7 @@ fn init_settings() {
s = settings
}
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 || '-v' in os.args
s.is_verbose = '-v' in os.args
s.server_urls = cmdline.options(os.args, '-server-url')
s.vmodules_path = os.home_dir() + '.vmodules'
}

View File

@ -8,6 +8,5 @@ specified inside of it.
Options:
-help - Show usage info.
-verbose - Print more details about the performed operation.
-server-url - When doing network operations, use this vpm server.
Can be given multiple times.
-v - Print more details about the performed operation.
-server-url - When doing network operations, use this vpm server. Can be given multiple times.

View File

@ -5,5 +5,5 @@ Usage:
^^^^^^^^^^^^ will remove ALL installed modules
Options:
-help - Show usage info.
-verbose - Print more details about the performed operation.
-v - Print more details about the performed operation.
-server-url - When doing network operations, use this vpm server. Can be given multiple times.

View File

@ -4,5 +4,5 @@ Usage:
and will show details about them
Options:
-help - Show usage info.
-verbose - Print more details about the performed operation.
-v - Print more details about the performed operation.
-server-url - When doing network operations, use this vpm server. Can be given multiple times.

View File

@ -5,5 +5,5 @@ Usage:
^^^^^^^^^^^^ will update ALL installed modules to their latest versions.
Options:
-help - Show usage info.
-verbose - Print more details about the performed operation.
-v - Print more details about the performed operation.
-server-url - When doing network operations, use this vpm server. Can be given multiple times.