aboutsummaryrefslogtreecommitdiff
path: root/flag.go
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2017-01-19 16:32:39 -0500
committerGitHub <[email protected]>2017-01-19 16:32:39 -0500
commita232f6d9f87afaaa08bafaff5da685f974b83313 (patch)
treeaed1d391665cead5db48aeac91a2719c22674b40 /flag.go
parent51268031d79952516489a9f8aa34e9709b98d946 (diff)
parent86d35458626e9ddb67bad7aa864abb61f99435dc (diff)
Merge pull request #102 from bogem/redundant
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 b4bfecb..3f5fedd 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