aboutsummaryrefslogtreecommitdiff
path: root/bool_test.go
diff options
context:
space:
mode:
authorssgelm <[email protected]>2015-07-24 15:48:23 -0500
committerEric Paris <[email protected]>2015-08-12 11:12:18 -0400
commita5b1ec7bc336ed907e08592b0f2455ff1a06e97a (patch)
tree534064db791e32c46e2fc3f1eef47c3e26510261 /bool_test.go
parent41e9136667ee4f9ffd03da380e24629d7eccace4 (diff)
Fix typo in bool_test.go
(cherry picked from commit faf06f062514fcb3a92c325d15bf312d1be84f94)
Diffstat (limited to 'bool_test.go')
-rw-r--r--bool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bool_test.go b/bool_test.go
index febf667..afd25ae 100644
--- a/bool_test.go
+++ b/bool_test.go
@@ -51,7 +51,7 @@ func (v *triStateValue) String() string {
return fmt.Sprintf("%v", bool(*v == triStateTrue))
}
-// The type of the flag as requred by the pflag.Value interface
+// The type of the flag as required by the pflag.Value interface
func (v *triStateValue) Type() string {
return "version"
}