From e151eb87ebd2ffe104bce5238c490d1b27d76abe Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 30 Nov 2023 01:41:55 +0100 Subject: Fix typo in GetLong() doccomment --- opts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- cgit v1.2.3