From 9772306ae93dd4464e91d0bb7b5c63bc9c58b11e Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Sun, 29 Nov 2020 13:11:12 +0000 Subject: [PATCH] help: list -showcc, -w (#7013) --- cmd/v/help/build-c.txt | 3 +++ cmd/v/help/build.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cmd/v/help/build-c.txt b/cmd/v/help/build-c.txt index e14366cd84..d04e1e492e 100644 --- a/cmd/v/help/build-c.txt +++ b/cmd/v/help/build-c.txt @@ -59,5 +59,8 @@ These build flags are enabled on `build` and `run` as long as the backend is set Useful for similar use-case as above option, except it replaces V-generated prelude with your custom one loaded from specified . + -showcc + Prints the C command that is used to build the program. + -keepc Do not remove the temporary .tmp.c and .tmp.c.rsp files. Also do not use a random prefix for them, so they would be fixed and predictable. diff --git a/cmd/v/help/build.txt b/cmd/v/help/build.txt index aa597e9bcc..aafb06354a 100644 --- a/cmd/v/help/build.txt +++ b/cmd/v/help/build.txt @@ -119,6 +119,9 @@ The build flags are shared by the build and run commands: C GEN: 103ms C tcc: 95ms + -w + Hide all warnings. + -W Treat all warnings as errors, even in development builds.