diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-30 01:41:55 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-30 01:41:55 +0100 |
commit | e151eb87ebd2ffe104bce5238c490d1b27d76abe (patch) | |
tree | 05358e7249662087780e0b5abc2289d7710d330e | |
parent | d126d337836e03c664467799abfbc81af9fd40dd (diff) |
Fix typo in GetLong() doccommentv1.0.2
-rw-r--r-- | opts.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ func Get(args []string, optstr string) (flags []Flag, optind int, err error) { // This function is identical to [Get] except it parses according to a // [LongOpt] slice instead of an opt-string, and it parses long-options. // When parsing, GetLong will also accept incomplete long-options if they -// are ambiguous. For example, given the following definition of opts: +// are unambiguous. For example, given the following definition of opts: // // opts := []LongOpt{ // {Short: 'a', Long: "add", Arg: None}, |