hashsum: changed output format when listing algorithms

This commit is contained in:
albertony 2022-06-08 14:26:47 +02:00
parent 26db80c270
commit f858166c9d

View file

@ -370,7 +370,7 @@ func HelpString(indent int) string {
help.WriteString(padding) help.WriteString(padding)
help.WriteString("Supported hashes are:\n") help.WriteString("Supported hashes are:\n")
for _, h := range supported { for _, h := range supported {
fmt.Fprintf(&help, "%s * %v\n", padding, h.String()) fmt.Fprintf(&help, "%s- %v\n", padding, h.String())
} }
return help.String() return help.String()
} }