mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Document v -lib
and don't advertise --help
long option
--help and --version are accepted, but these don't fit the `-option` format of V's other options. To avoid confusion, don't mention them.
This commit is contained in:
parent
90c8da2254
commit
cec3ea5b4d
@ -40,7 +40,7 @@ enum OS {
|
||||
}
|
||||
|
||||
enum Pass {
|
||||
// A very short pass that only looks at imports in the begginning of each file
|
||||
// A very short pass that only looks at imports in the beginning of each file
|
||||
imports
|
||||
// First pass, only parses and saves declarations (fn signatures, consts, types).
|
||||
// Skips function bodies.
|
||||
@ -1071,8 +1071,9 @@ Usage: v [options] [file | directory]
|
||||
|
||||
Options:
|
||||
- Read from stdin (Default; Interactive mode if in a tty)
|
||||
-h, --help, help Display this information.
|
||||
-h, help Display this information.
|
||||
-v, version Display compiler version.
|
||||
-lib Generate object file.
|
||||
-prod Build an optimized executable.
|
||||
-o <file> Place output into <file>.
|
||||
-obf Obfuscate the resulting binary.
|
||||
|
Loading…
Reference in New Issue
Block a user