Skip to content

Commit

Permalink
Merge pull request #27 from Songmu/trim-path
Browse files Browse the repository at this point in the history
make -trimpath true by default
  • Loading branch information
Songmu authored Apr 5, 2021
2 parents 231b536 + 633acae commit 6a1adc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ Options:

fs.BoolVar(&gx.static, "static", false, "build statically linked binary")
fs.BoolVar(&gx.work, "work", false, "[for debug] print the name of the temporary work directory and do not delete it when exiting.")
fs.BoolVar(&gx.trimpath, "trimpath", false, "remove all file system paths from the resulting executable. requires Go 1.13 or later.")
fs.BoolVar(&gx.trimpath, "trimpath", true, "remove all file system paths from the resulting executable. requires Go 1.13 or later.")

err := fs.Parse(args)
if err != nil {

0 comments on commit 6a1adc4

Please sign in to comment.