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

v: support -o - x_test.v too, describe -o - in the v help screen

This commit is contained in:
Delyan Angelov
2021-07-18 16:34:47 +03:00
parent a007dd5d22
commit 016240d00b
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ Examples:
v run hello.v Same as above but also run the produced executable immediately after compilation.
v -cg run hello.v Same as above, but make debugging easier (in case your program crashes).
v -o h.c hello.v Translate `hello.v` to `h.c`. Do not compile further.
v -o - hello.v Translate `hello.v` and output the C source code to stdout. Do not compile further.
v watch hello.v Re-does the same compilation, when a source code change is detected.
The program is only compiled, not run.