diff options
| author | Carlos <[email protected]> | 2012-10-14 20:43:10 +0300 |
|---|---|---|
| committer | Carlos <[email protected]> | 2012-10-14 20:43:10 +0300 |
| commit | 7cd341481467c68c7fcf1fd2d13b639442cc25d8 (patch) | |
| tree | 13d0fe34cf63ac03b36a81f3c583206a12c370d1 | |
| parent | Update goupx.go (diff) | |
| download | archived-goupx-7cd341481467c68c7fcf1fd2d13b639442cc25d8.tar.xz archived-goupx-7cd341481467c68c7fcf1fd2d13b639442cc25d8.zip | |
Print also flags when showing command help.
| -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 |