diff options
| -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" |
