unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Error : flag provided but not defined: -trimpath #48

Open Proc3ssor1 opened 3 years ago

Proc3ssor1 commented 3 years ago

I install gobfuscate in the following way : go get -u github.com/unixpickle/gobfuscate I run the following command : /home/user/go/bin/gobfuscate -tags GOOS=windows -verbose -tags GOARCH=amd64 mydir outdir

And, Ihave the following error :

Error : flag provided but not defined: -trimpath
usage: build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
Failed to compile: exit status 2

What is wrong with the trimpath option ?