From da1e1f34fc5a25caf18a49a1de8c4902477b25d4 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 24 Jun 2019 14:43:17 +0200 Subject: [PATCH] update help text --- compiler/main.v | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/compiler/main.v b/compiler/main.v index 3fe8176e96..454f3efa16 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -841,20 +841,26 @@ fn run_repl() []string { // This definitely needs to be better :) const ( HelpText = ' -- To build a V program: +- Build a V program: v file.v -- To get current V version: +- Get current V version: v version -- To build an optimized executable: +- Build an optimized executable: v -prod file.v -- To specify the executable\'s name: +- Specify the executable\'s name: v -o program file.v -- To build and execute a V program : +- Build and execute a V program: v run file.v + +- Obfuscate the resulting binary: +v -obf -prod build file.v + +- Test: +v string_test.v ' )