aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Murphy <[email protected]>2015-03-05 15:13:42 -0600
committerMichael Murphy <[email protected]>2015-03-05 15:13:42 -0600
commit5af74f3f95db38568a7584d8bd784ec1aca2e700 (patch)
tree36766d95697e84539584ea1760617f0e42f1a2ca
parentPass Arguments Directly (diff)
downloadarchived-goupx-5af74f3f95db38568a7584d8bd784ec1aca2e700.tar.xz
archived-goupx-5af74f3f95db38568a7584d8bd784ec1aca2e700.zip
Improve usageText
-rw-r--r--main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9aec87c..ee3e59d 100644
--- a/main.go
+++ b/main.go
@@ -7,7 +7,12 @@ import (
"os/exec"
)
-const usageText = "usage: goupx [args...] path\n"
+const usageText = `usage: goupx [args...] files...\n
+
+ --no-upx: Disables UPX from running.
+ --strip-binary: Strips binaries before compressing them.
+
+See UPX's documentation (man upx) for information on UPX's flags.`
var run_strip = false
var run_upx = true