Skip to content
Snippets Groups Projects
Verified Commit a9baecc2 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

doc: change comment

parent c708834d
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import (
"strconv"
)
// AddFileFromFlags adds a file to the configuration
// AddFileFromFlagSet adds a file to the configuration
// The file is read from the flag specified by the name
func (s *setting[C]) AddFileFromFlagSet(flagset *flag.FlagSet, name string, format Format) *setting[C] {
......@@ -25,7 +25,7 @@ func (s *setting[C]) AddFileFromFlagSet(flagset *flag.FlagSet, name string, form
return s.AddFile(path, format)
}
// InitFromFlags initializes the configuration from the command line flags.
// InitFromFlagSet initializes the configuration from the command line flags.
func (s *setting[C]) InitFromFlagSet(flagset *flag.FlagSet) *setting[C] {
s.Lock()
defer s.Unlock()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment