Skip to content

Releases: thought-machine/go-flags

v1.6.3

25 Aug 10:41
1dad049
Compare
Choose a tag to compare

Fixes a bug in which invalid flag values were only recognised as errors on the first parse attempt and not subsequent attempts with the same parser.

v1.6.2

12 Aug 14:15
1906a20
Compare
Choose a tag to compare

Command completion now works on optional subcommands where the parent has a positional argument. Completions are also provided automatically for non-Completer types with choices.

v1.6.1

17 Dec 13:47
863a5b2
Compare
Choose a tag to compare

Allow overriding the default column width to fix poor formatting in some cases where the console width can't be determined

v1.6.0

07 Sep 13:40
daa3266
Compare
Choose a tag to compare

Adds a PrintAdditionalUsageInfo method on Parser which is a function that can be used to pick up info from, for example, a config file, and print it along with the usual usage info.

v1.5.1

12 Apr 17:52
20458c2
Compare
Choose a tag to compare

Maps that have slices as their value type are now appended to if repeated flags with the same key are passed, matching the behaviour of slices outside maps.

v1.5.0

09 Dec 16:22
6b49e8e
Compare
Choose a tag to compare
Add go.mod and go.sum