Cleanups and docs.

This commit is contained in:
Kyle Isom
2017-10-20 12:38:41 -07:00
parent d42c1fa1c5
commit 1df0350fc7
4 changed files with 33 additions and 3 deletions

View File

@@ -13,6 +13,10 @@ import (
"github.com/kisom/goutils/lib"
)
func init() {
flag.Usage = func() { usage(os.Stdout); os.Exit(1) }
}
func usage(w io.Writer) {
fmt.Fprintf(w, `Print hash of subject or issuer fields in certificates.