field -> fields

This commit is contained in:
Alex Flint 2024-09-05 17:16:23 -04:00
parent b13a62172a
commit 12fffac1d8
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ func cmdFromStruct(name string, dest path, t reflect.Type) (*command, error) {
return &cmd, nil 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. // of the structs from which NewParser was constructed.
// //
// It returns ErrHelp if "--help" is one of the command line args and ErrVersion if // It returns ErrHelp if "--help" is one of the command line args and ErrVersion if