summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2024-09-05 17:16:23 -0400
committerAlex Flint <[email protected]>2024-09-05 17:16:23 -0400
commit12fffac1d812461638322f8eed15b1b740e38040 (patch)
treebbce649c6e0950c0f382edbf86f814fe29a002e2
parentb13a62172a12a2b2f0cfd7eeed10d846845a5f77 (diff)
field -> fields
-rw-r--r--parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.go b/parse.go
index 8f99a21..172c7cd 100644
--- a/parse.go
+++ b/parse.go
@@ -493,7 +493,7 @@ func cmdFromStruct(name string, dest path, t reflect.Type) (*command, error) {
return &cmd, nil
}
-// Parse processes the given command line option, storing the results in the field
+// Parse processes the given command line option, storing the results in the fields
// of the structs from which NewParser was constructed.
//
// It returns ErrHelp if "--help" is one of the command line args and ErrVersion if