This commit is contained in:
Christian Muehlhaeuser 2021-03-12 13:28:38 +01:00
parent 0333e88252
commit 2d8f8c2d64
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -16,7 +16,7 @@ type helpEntry struct{ key, val string }
type helpColumn []helpEntry
// newHelpColumn creates a help column from pairs of string arguments
// represeting keys and values. If the arguements are not even (and therein
// represeting keys and values. If the arguments are not even (and therein
// not every key has a matching value) the function will panic.
func newHelpColumn(pairs ...string) (h helpColumn) {
if len(pairs)%2 != 0 {