From 69943556c09fe6b178afb33a8a6346adb3bd50e7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Sep 2025 05:04:10 -0500 Subject: wrapper to the go-args cmd help --- bash.orig.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bash.orig.go') diff --git a/bash.orig.go b/bash.orig.go index d095db5..1753498 100644 --- a/bash.orig.go +++ b/bash.orig.go @@ -41,6 +41,10 @@ func (pb *Auto) PrintDebug() { pb.Debugf("AUTOCOMPLETE: arg0='%s' arg1='%s' partial='%s' cmd='%s' age=%s argv=%v\n", pb.Arg0, pb.Arg1, pb.Partial, pb.Cmd, shell.FormatDuration(dur), pb.Argv) } +func (pb *Auto) WriteHelp() { + myAuto.pp.WriteHelp(os.Stdout) +} + func (pb *Auto) Debugf(fmts string, parts ...any) { fmts = strings.TrimSpace(fmts) fmts += "\n" -- cgit v1.2.3