mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vpm: use only -v
for verbose output
This commit is contained in:
parent
70c18fc7b2
commit
eec5cf1eb1
@ -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'
|
||||
}
|
||||
|
@ -2,12 +2,11 @@ Usage:
|
||||
v install module [module] [module] [...]
|
||||
^^^^^^^^^^^^^ will install the modules you specified
|
||||
|
||||
You can also do `v install` directly if you have dependencies stored
|
||||
inside the `v.mod` file. This will automatically installs the modules
|
||||
specified inside of it.
|
||||
You can also do `v install` directly if you have dependencies stored
|
||||
inside the `v.mod` file. This will automatically installs the modules
|
||||
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.
|
||||
-help - Show usage info.
|
||||
-v - Print more details about the performed operation.
|
||||
-server-url - When doing network operations, use this vpm server. Can be given multiple times.
|
||||
|
@ -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.
|
||||
|
@ -3,6 +3,6 @@ Usage:
|
||||
^^^^^^^^^^^^^^^^^ will search https://vpm.vlang.io/ for matching modules,
|
||||
and will show details about them
|
||||
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.
|
||||
-help - Show usage info.
|
||||
-v - Print more details about the performed operation.
|
||||
-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.
|
||||
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.
|
||||
|
@ -10,7 +10,7 @@ import v.util
|
||||
import v.builder
|
||||
|
||||
const (
|
||||
simple_cmd = [
|
||||
simple_cmd = [
|
||||
'fmt', 'up',
|
||||
'self', 'symlink', 'bin2v',
|
||||
'test', 'test-fmt', 'test-compiler', 'test-fixed',
|
||||
|
@ -33,7 +33,7 @@ pub enum Backend {
|
||||
}
|
||||
|
||||
const (
|
||||
list_of_flags_with_param = [
|
||||
list_of_flags_with_param = [
|
||||
'o'
|
||||
'output', 'd', 'define', 'b', 'backend', 'cc', 'os', 'target-os', 'arch', 'csource'
|
||||
'cf', 'cflags', 'path']
|
||||
|
Loading…
Reference in New Issue
Block a user