aboutsummaryrefslogtreecommitdiff
path: root/golangflag_test.go
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2015-10-14 18:13:34 -0400
committerSteve Francia <[email protected]>2015-12-18 08:45:27 -0500
commit76a42eaba0307accce867b21d302cc6586bc3ad3 (patch)
tree538fe50038d772d1796e34c27cb4a9ef0a2f6f16 /golangflag_test.go
parent08b1a584251b5b62f458943640fc8ebd4d50aaa5 (diff)
Better support golang flag short values
In golang flags -bob and --bob are the same thing. Not so in pflags. But when a golang flag was just -b or --b we would still only support --b. This was a little awkward to users. If a golang flag was declared as a single character, support both the -b and --b versions in the pflag version.
Diffstat (limited to 'golangflag_test.go')
0 files changed, 0 insertions, 0 deletions