File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
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
+
3
20
- v2.1.6
4
21
5
22
- cmdr: fix calling `finalAction()` twice when redirectTo
Original file line number Diff line number Diff line change 2
2
3
3
package cmdr
4
4
5
- const Version = "v2.1.6 " // Version fir hedzr/cmdr/v2
5
+ const Version = "v2.1.7 " // Version fir hedzr/cmdr/v2
You can’t perform that action at this time.
0 commit comments