summaryrefslogtreecommitdiff
path: root/argv.Print.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-25 09:03:31 -0500
committerJeff Carr <[email protected]>2025-10-25 09:03:31 -0500
commit221839190ba296268926589dd50416c3e7cac24a (patch)
treed2931fdefa42495bafad86b44c79e07da1508c3b /argv.Print.go
parentb95f2cab06e5de8fec71b0b991777f5d5cb1fa90 (diff)
something farther along?
Diffstat (limited to 'argv.Print.go')
-rw-r--r--argv.Print.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/argv.Print.go b/argv.Print.go
index bb1de4a..2fcd859 100644
--- a/argv.Print.go
+++ b/argv.Print.go
@@ -41,7 +41,7 @@ func (pb *Argv) PrintDebugNew(msg string, last string) {
fast = "fast=0," + pb.GetCmd()
}
sargv := fmt.Sprintf("argv(%v)", pb.Real)
- top := fmt.Sprintf("age=(%s)dur(%s)%-4.4s %-12.12s %-12.12s", age, dur, pb.Uuid, cmd, arglast)
+ top := fmt.Sprintf("%-4.4s age=(%s)dur(%s) h%2.2d %-12.12s %-12.12s", pb.Uuid, age, dur, pb.HelpCounter, cmd, arglast)
Debugf("%s: %s %-12.12s %s %s goargs='%v' len(%d)", msg, top, partial, fast, sargv, pb.Goargs, me.all.Len())
}
@@ -49,7 +49,8 @@ func (all *Argvs) PrintHistory(last string) {
counter := 0
for pb := range all.IterAll() {
counter += 1
- hist := fmt.Sprintf("HIST(%d)", counter)
+ // hist := fmt.Sprintf("HIST(%d)", counter)
+ hist := fmt.Sprintf("HIST")
pb.PrintDebugNew(hist, last)
}
}