diff options
| author | Christophe Serafin <[email protected]> | 2017-08-02 18:52:18 -0700 |
|---|---|---|
| committer | Albert Nigmatzianov <[email protected]> | 2017-09-01 17:08:50 +0500 |
| commit | adc6ccc62c61bc48e0ba9c6e71fdc4d23558af9f (patch) | |
| tree | 39738d3ba33aeca94d41c3a7a021040951d58353 /flag.go | |
| parent | e57e3eeb33f795204c1ca35f56c44f83227c6e66 (diff) | |
New: added a default name to avoid stringSlice in the usage message.
Diffstat (limited to 'flag.go')
| -rw-r--r-- | flag.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -556,6 +556,8 @@ func UnquoteUsage(flag *Flag) (name string, usage string) { name = "int" case "uint64": name = "uint" + case "stringSlice": + name = "strings" } return |
