mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
update help text
This commit is contained in:
parent
baa4f9d0c9
commit
da1e1f34fc
@ -841,20 +841,26 @@ fn run_repl() []string {
|
|||||||
// This definitely needs to be better :)
|
// This definitely needs to be better :)
|
||||||
const (
|
const (
|
||||||
HelpText = '
|
HelpText = '
|
||||||
- To build a V program:
|
- Build a V program:
|
||||||
v file.v
|
v file.v
|
||||||
|
|
||||||
- To get current V version:
|
- Get current V version:
|
||||||
v version
|
v version
|
||||||
|
|
||||||
- To build an optimized executable:
|
- Build an optimized executable:
|
||||||
v -prod file.v
|
v -prod file.v
|
||||||
|
|
||||||
- To specify the executable\'s name:
|
- Specify the executable\'s name:
|
||||||
v -o program file.v
|
v -o program file.v
|
||||||
|
|
||||||
- To build and execute a V program :
|
- Build and execute a V program:
|
||||||
v run file.v
|
v run file.v
|
||||||
|
|
||||||
|
- Obfuscate the resulting binary:
|
||||||
|
v -obf -prod build file.v
|
||||||
|
|
||||||
|
- Test:
|
||||||
|
v string_test.v
|
||||||
'
|
'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user