From d338be9941d28e5b30de580785e034ec9c39f45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 8 Aug 2021 12:21:49 +0100 Subject: [PATCH] give a usage example for combining flags Users are still filing bugs about this, presumably because the docs aren't clear enough. Fixes #372. --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index 079f73d..4411d15 100644 --- a/main.go +++ b/main.go @@ -69,6 +69,10 @@ For example, to build an obfuscated program: garble build ./cmd/foo +Similarly, to combine garble flags and Go build flags: + + garble -literals build -tags=purego ./cmd/foo + The following commands are supported: build [packages] wraps "go build"