diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 05:04:10 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 05:04:10 -0500 |
| commit | 69943556c09fe6b178afb33a8a6346adb3bd50e7 (patch) | |
| tree | df745c78b8002d26d0b090fbb0d82de3256862a5 | |
| parent | b4544aeadd67a6b27407c6da623d6b1ed6ee5204 (diff) | |
wrapper to the go-args cmd helpv0.0.13
| -rw-r--r-- | bash.orig.go | 4 |
1 files changed, 4 insertions, 0 deletions
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" |
