vpm: use only `-v` for verbose output
parent
70c18fc7b2
commit
eec5cf1eb1
|
@ -443,7 +443,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 || '-v' in os.args
|
s.is_verbose = '-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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,5 @@ specified inside of it.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-help - Show usage info.
|
-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.
|
-server-url - When doing network operations, use this vpm server. Can be given multiple times.
|
||||||
Can be given multiple times.
|
|
||||||
|
|
|
@ -5,5 +5,5 @@ Usage:
|
||||||
^^^^^^^^^^^^ will remove ALL installed modules
|
^^^^^^^^^^^^ will remove ALL installed modules
|
||||||
Options:
|
Options:
|
||||||
-help - Show usage info.
|
-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.
|
-server-url - When doing network operations, use this vpm server. Can be given multiple times.
|
||||||
|
|
|
@ -4,5 +4,5 @@ Usage:
|
||||||
and will show details about them
|
and will show details about them
|
||||||
Options:
|
Options:
|
||||||
-help - Show usage info.
|
-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.
|
-server-url - When doing network operations, use this vpm server. Can be given multiple times.
|
||||||
|
|
|
@ -5,5 +5,5 @@ Usage:
|
||||||
^^^^^^^^^^^^ will update ALL installed modules to their latest versions.
|
^^^^^^^^^^^^ will update ALL installed modules to their latest versions.
|
||||||
Options:
|
Options:
|
||||||
-help - Show usage info.
|
-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.
|
-server-url - When doing network operations, use this vpm server. Can be given multiple times.
|
||||||
|
|
Loading…
Reference in New Issue