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.pull/1154/head
parent
90c8da2254
commit
cec3ea5b4d
|
@ -40,7 +40,7 @@ enum OS {
|
||||||
}
|
}
|
||||||
|
|
||||||
enum Pass {
|
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
|
imports
|
||||||
// First pass, only parses and saves declarations (fn signatures, consts, types).
|
// First pass, only parses and saves declarations (fn signatures, consts, types).
|
||||||
// Skips function bodies.
|
// Skips function bodies.
|
||||||
|
@ -1071,8 +1071,9 @@ Usage: v [options] [file | directory]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
- Read from stdin (Default; Interactive mode if in a tty)
|
- 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.
|
-v, version Display compiler version.
|
||||||
|
-lib Generate object file.
|
||||||
-prod Build an optimized executable.
|
-prod Build an optimized executable.
|
||||||
-o <file> Place output into <file>.
|
-o <file> Place output into <file>.
|
||||||
-obf Obfuscate the resulting binary.
|
-obf Obfuscate the resulting binary.
|
||||||
|
|
Loading…
Reference in New Issue