Skip to content

Commit e4e9495

Browse files
committed
bump to v2.1.7
1 parent 96a0f57 commit e4e9495

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# CHANGELOG
22

3+
- v2.1.7
4+
5+
- downgrade toolchain to go1.23.0
6+
- upgrade deps
7+
- cmdr: review & improve builtins commands and flags
8+
- cmdr: add `OwnerIsRoot()`, `IsRoot()`
9+
- cmdr: improved help screen
10+
- cut overlong titles to a new line
11+
- rename to `printCommandHeading()`, ...
12+
- rename to `printFlagHeading()`, ...
13+
- optimize the gap between short and long title if short is not a single char
14+
- cut off aliases if titles width is greater than tabstop, and move them to the next line
15+
- improved head-like flag, add a new line to remark it
16+
- cmdr: improved head-like flag matching algor to search the parents commands if they own a head-like flag
17+
- cmdr: change to `Flag.GetTitleFlagNamesBy(delimiter string, maxW...int) (title,rest string)`
18+
- cmdr: change to `BaseOpt.GetTitleNames(maxWidth ...int) (title, rest string)`
19+
320
- v2.1.6
421

522
- cmdr: fix calling `finalAction()` twice when redirectTo

doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
package cmdr
44

5-
const Version = "v2.1.6" // Version fir hedzr/cmdr/v2
5+
const Version = "v2.1.7" // Version fir hedzr/cmdr/v2

0 commit comments

Comments
 (0)