diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 15:56:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 15:56:22 -0500 |
| commit | 3d0d7fa233f712c1c57b3b3092dece6f746f0f03 (patch) | |
| tree | 806ecf0740cdc3679f7859c067225c522973512e | |
| parent | 79d5f1d674f4f4a3b5304acc93908cdd968b33d4 (diff) | |
minorv0.0.43
| -rw-r--r-- | theMagicOfAutocomplete.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index dd75a23..3bc32f0 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -18,6 +18,7 @@ import ( ) func Autocomplete(dest any) *Argv { + var err error me = new(AutoArgs) // todo: redo this me.pb = new(Argv) @@ -41,7 +42,7 @@ func Autocomplete(dest any) *Argv { // loads the argv autocomplete history file all := NewArgvs() fullname := config.MakeCacheFilename("argv", me.pb.AppInfo.APPNAME) - err := config.LoadFromFilename(all, fullname) + err = config.LoadFromFilename(all, fullname) if err != nil { // there is no history. // todo: initialize the history file |
