aboutsummaryrefslogtreecommitdiff
path: root/flag.go
diff options
context:
space:
mode:
authorbogem <[email protected]>2016-10-23 14:56:08 +0200
committerbogem <[email protected]>2016-10-23 14:56:08 +0200
commit86d35458626e9ddb67bad7aa864abb61f99435dc (patch)
tree518a3011dbb70992b48c760199ac9a035778ec5f /flag.go
parentdabebe21bf790f782ea4c7bbd2efc430de182afd (diff)
Clean up code
Diffstat (limited to 'flag.go')
-rw-r--r--flag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/flag.go b/flag.go
index fa81564..6263a63 100644
--- a/flag.go
+++ b/flag.go
@@ -635,7 +635,7 @@ func (f *FlagSet) VarPF(value Value, name, shorthand, usage string) *Flag {
// VarP is like Var, but accepts a shorthand letter that can be used after a single dash.
func (f *FlagSet) VarP(value Value, name, shorthand, usage string) {
- _ = f.VarPF(value, name, shorthand, usage)
+ f.VarPF(value, name, shorthand, usage)
}
// AddFlag will add the flag to the FlagSet