diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 16:34:18 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 16:34:18 -0500 |
| commit | c3433e0556d4441f1e81f171a924d38c0e14ce4c (patch) | |
| tree | ae21111e21af7814f97db7aa0edafbc636e292d9 /tablePatches.go | |
| parent | 4656c1d17ae0da1519863f7879b2cd7dd60df5bf (diff) | |
add stateChange field. prepare to rev patch.proto
Diffstat (limited to 'tablePatches.go')
| -rw-r--r-- | tablePatches.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tablePatches.go b/tablePatches.go index 8c55ca1..8f77cc1 100644 --- a/tablePatches.go +++ b/tablePatches.go @@ -37,7 +37,7 @@ func (pb *Patches) PrintTable() string { tablePB := pb.MakeTable() tablePB.PrintTable() - return log.Sprintf("pb.DefaultTable: %d patches\n", pb.Len()) + return log.Sprintf("default patches table %d patches\n", pb.Len()) } func (pb *Patches) MakeTable() *PatchesTable { @@ -62,7 +62,13 @@ func (pb *Patches) MakeTable() *PatchesTable { }) col.Width = 4 + col = t.AddState() + col.Width = 20 + + col = t.AddStateChange() + col.Width = 20 + col = t.AddComment() - col.Width = 80 + col.Width = -1 return t } |
