From f24e9cc80a9114a744faa8ee139b642d8b4051b1 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 15 Jan 2022 17:31:58 +0200 Subject: [PATCH] help: fix `-compress` description --- cmd/v/help/build-c.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/v/help/build-c.txt b/cmd/v/help/build-c.txt index e8feca94e3..11c7504037 100644 --- a/cmd/v/help/build-c.txt +++ b/cmd/v/help/build-c.txt @@ -190,7 +190,11 @@ see also `v help build`. this loop is very short usually. -compress - Strip the compiled executable to compress it. + Compress the compiled executable with UPX. + Note: `upx` should be installed beforehand. + In most Linux distros it is in a package named `upx-ucl`. + On macOS, you can install it with `brew install upx`. + On Windows, you can download it from https://upx.github.io/ . -live Build the executable with live capabilities (`[live]`).