Skip to content

Commit 731f0a1

Browse files
committed
bump to v2.1.22
1 parent 923f1df commit 731f0a1

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

CHANGELOG

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# CHANGELOG
22

3-
- v2.1.20
3+
- v2.1.22
4+
5+
- added `passThruNow` for a subcmd
6+
- added `UpdateHitInfo` to `CmdS`
7+
- fix `HELP=1` not work
8+
- improved autoenv feature
9+
- changed: `APP_VERSION` has no effect to map into `--version` (but `VERSION` can do it)
10+
- fix `ignoreUnmatched` for a subcmd - add as positional arg without leading '-'
11+
- fix `desc`, `examples` fields for help screen
12+
- fix/improved `BaseOpt` fields order for better inspecting in debugging time
13+
- upgrade deps & security patch
14+
15+
- v2.1.21
416

517
- added `ignoreUnmatched` for a subcmd
618
so that all unmatched flags are treated as positional args instead of raising an error
@@ -16,6 +28,7 @@
1628
- fix `flag.required` (a typo)
1729
- fix `flag.Clone()` for the recently-added fields
1830
- fix command heading in help screen
31+
- upgrade deps & security patch
1932

2033
- v2.1.19
2134

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package cmdr
44

5-
const Version = "v2.1.21" // Version fir hedzr/cmdr/v2
5+
const Version = "v2.1.22" // Version fir hedzr/cmdr/v2

0 commit comments

Comments
 (0)