aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-30 01:41:55 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-30 01:41:55 +0100
commite151eb87ebd2ffe104bce5238c490d1b27d76abe (patch)
tree05358e7249662087780e0b5abc2289d7710d330e
parentd126d337836e03c664467799abfbc81af9fd40dd (diff)
Fix typo in GetLong() doccommentv1.0.2
-rw-r--r--opts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/opts.go b/opts.go
index 5a83e21..cdd0c27 100644
--- a/opts.go
+++ b/opts.go
@@ -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},