left align ints by default again, add -I to right align on request

This commit is contained in:
2026-06-24 09:35:40 +02:00
parent ffcb8adb70
commit 20b79ce168
3 changed files with 11 additions and 1 deletions

View File

@@ -71,6 +71,13 @@ func Main() int {
Destination: &tree,
Hidden: true,
},
&cli.BoolFlag{
Name: "align-ints",
Aliases: []string{"I"},
Value: false,
Usage: "right align integers in tabular output",
Destination: &conf.AlignInts,
},
&cli.StringFlag{
Name: "config",
Aliases: []string{"c"},