From: Sergey Matveev Date: Sat, 5 Oct 2019 08:10:13 +0000 (+0300) Subject: -help mentions SHA512 hash X-Git-Tag: v1.1.0~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=balloon.git;a=commitdiff_plain;h=8db12c1d04f1d1bc2311c42a08812f511bfae721;ds=sidebyside -help mentions SHA512 hash --- diff --git a/cmd/balloon/main.go b/cmd/balloon/main.go index 65d27a1..b7fd973 100644 --- a/cmd/balloon/main.go +++ b/cmd/balloon/main.go @@ -25,6 +25,7 @@ import ( "flag" "fmt" "io" + "os" "go.cypherpunks.ru/balloon" ) @@ -35,6 +36,10 @@ func main() { p := flag.Int("p", 4, "Number of threads") saltHex := flag.String("salt", "", "Salt, hexadecimal, optional") passwd := flag.String("passwd", "", "Password") + flag.Usage = func() { + fmt.Fprintf(os.Stderr, "balloon -- Strengthen password with Balloon+SHA512\n\n") + flag.PrintDefaults() + } flag.Parse() var salt []byte var err error