1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: rename module to package, when it comes to all VPM commands like v install etc (#16180)

This commit is contained in:
kahsa
2022-10-25 00:00:55 +09:00
committed by GitHub
parent d3fcb6bca0
commit 779cc33825
6 changed files with 56 additions and 54 deletions

View File

@@ -1,14 +1,14 @@
Usage:
v install [MODULE...]
Installs each MODULE.
v install [PACKAGE...]
Installs each PACKAGE.
If no MODULEs, the modules listed in the `v.mod` file are installed instead.
If no PACKAGEs, the packages listed in the `v.mod` file are installed instead.
Options:
--vpm - [Default] Install from vpm
--git - Install from git repository url
--hg - Install from mercurial repository url
--once - Only install the module if it was not previously installed
--once - Only install the package if it was not previously installed
-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.

View File

@@ -1,3 +1,3 @@
Usage: v list
List all installed modules.
List all installed packages.

View File

@@ -1,7 +1,7 @@
Usage:
v remove [MODULE...]
Removes all listed MODULEs.
If no MODULE is provided, removes ALL installed modules.
v remove [PACKAGE...]
Removes all listed PACKAGEs.
If no PACKAGE is provided, removes ALL installed packages.
Options:
-help - Show usage info.

View File

@@ -1,8 +1,8 @@
Usage:
v update [MODULE]...
Updates each MODULE.
v update [PACKAGE]...
Updates each PACKAGE.
With no MODULE, ALL installed modules are updated to their latest versions.
With no PACKAGE, ALL installed packages are updated to their latest versions.
Options:
-help - Show usage info.

View File

@@ -1,8 +1,8 @@
Usage:
a) v install [MODULE...]
b) v update [MODULE...]
c) v remove [MODULE...]
a) v install [PACKAGE...]
b) v update [PACKAGE...]
c) v remove [PACKAGE...]
d) v search KEYWORD[...]
e) v show [MODULE...]
e) v show [PACKAGE...]
You can also pass -h or --help after each vpm command from the above, to see more details about it.