summaryrefslogtreecommitdiff
path: root/parse.go
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2021-04-16 20:44:18 -0700
committerAlex Flint <[email protected]>2021-04-16 20:44:18 -0700
commit172800ff9a2765185520c06dcf969fde9f5eb5e3 (patch)
treef7d5989d7600bb510e626b801c3ebbe1a4167619 /parse.go
parentec285c8ec42c705f21f2f101f43131bbbbdd264e (diff)
fix a comment
Diffstat (limited to 'parse.go')
-rw-r--r--parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.go b/parse.go
index 22729e6..b7d159d 100644
--- a/parse.go
+++ b/parse.go
@@ -47,7 +47,7 @@ func (p path) Child(f reflect.StructField) path {
// spec represents a command line option
type spec struct {
dest path
- field reflect.StructField // name of struct field from this this option was created
+ field reflect.StructField // the struct field from which this option was created
long string // the --long form for this option, or empty if none
short string // the -s short form for this option, or empty if none
multiple bool