From c3433e0556d4441f1e81f171a924d38c0e14ce4c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Oct 2025 16:34:18 -0500 Subject: add stateChange field. prepare to rev patch.proto --- tablePatches.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tablePatches.go') 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 } -- cgit v1.2.3