Better help for maps.

This commit is contained in:
Alec Thomas
2019-01-12 20:59:24 +11:00
parent 59339303b6
commit 886c2d7b01
3 changed files with 26 additions and 16 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ func (f *Flag) FormatPlaceHolder() string {
return f.PlaceHolder + tail
}
if f.Value.IsMap() {
return "KEY=VALUE" + tail
return "KEY=VALUE;..."
}
return strings.ToUpper(f.Name) + tail
}