diff options
| author | Peter Waller <[email protected]> | 2012-10-14 14:06:33 -0700 |
|---|---|---|
| committer | Peter Waller <[email protected]> | 2012-10-14 14:06:33 -0700 |
| commit | 2d9e3bee171f49c28bae77ab4dffad01e643510f (patch) | |
| tree | 13d0fe34cf63ac03b36a81f3c583206a12c370d1 | |
| parent | Merge pull request #1 from toqueteos/master (diff) | |
| parent | Print also flags when showing command help. (diff) | |
| download | goupx-2d9e3bee171f49c28bae77ab4dffad01e643510f.tar.xz goupx-2d9e3bee171f49c28bae77ab4dffad01e643510f.zip | |
Merge pull request #2 from toqueteos/master
goupx without arguments panics (small fix)
| -rw-r--r-- | goupx.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ const usageText = "usage: goupx [args...] path\n" // usage prints some nice output instead of panic stacktrace when an user calls goupx without arguments func usage() { os.Stderr.WriteString(usageText) + flag.PrintDefaults() } // The functions gethdr and writephdr are heavily influenced by code found at |