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'
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,11 @@ Usage:
|
||||||
v install module [module] [module] [...]
|
v install module [module] [module] [...]
|
||||||
^^^^^^^^^^^^^ will install the modules you specified
|
^^^^^^^^^^^^^ will install the modules you specified
|
||||||
|
|
||||||
You can also do `v install` directly if you have dependencies stored
|
You can also do `v install` directly if you have dependencies stored
|
||||||
inside the `v.mod` file. This will automatically installs the modules
|
inside the `v.mod` file. This will automatically installs the modules
|
||||||
specified inside of it.
|
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.
|
||||||
|
|
|
@ -3,6 +3,6 @@ Usage:
|
||||||
^^^^^^^^^^^^^^^^^ will search https://vpm.vlang.io/ for matching modules,
|
^^^^^^^^^^^^^^^^^ will search https://vpm.vlang.io/ for matching modules,
|
||||||
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.
|
||||||
|
|
|
@ -10,7 +10,7 @@ import v.util
|
||||||
import v.builder
|
import v.builder
|
||||||
|
|
||||||
const (
|
const (
|
||||||
simple_cmd = [
|
simple_cmd = [
|
||||||
'fmt', 'up',
|
'fmt', 'up',
|
||||||
'self', 'symlink', 'bin2v',
|
'self', 'symlink', 'bin2v',
|
||||||
'test', 'test-fmt', 'test-compiler', 'test-fixed',
|
'test', 'test-fmt', 'test-compiler', 'test-fixed',
|
||||||
|
|
|
@ -33,7 +33,7 @@ pub enum Backend {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
list_of_flags_with_param = [
|
list_of_flags_with_param = [
|
||||||
'o'
|
'o'
|
||||||
'output', 'd', 'define', 'b', 'backend', 'cc', 'os', 'target-os', 'arch', 'csource'
|
'output', 'd', 'define', 'b', 'backend', 'cc', 'os', 'target-os', 'arch', 'csource'
|
||||||
'cf', 'cflags', 'path']
|
'cf', 'cflags', 'path']
|
||||||
|
|
Loading…
Reference in New Issue