From efd65e7567d2c8440cf1b29af8c374e69f7e08e6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Oct 2025 03:23:13 -0500 Subject: working towards shell autocomplete support --- plugin.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin.go') diff --git a/plugin.go b/plugin.go index e4e6810..ae4928f 100644 --- a/plugin.go +++ b/plugin.go @@ -171,10 +171,10 @@ func searchPaths(name string) *aplug { var p *aplug // try the filename from the command line first - if argGui.GuiFile != "" { - p = initToolkit(name, argGui.GuiFile) + if ArgvGui.GuiFile != "" { + p = initToolkit(name, ArgvGui.GuiFile) if p != nil { - log.Log(NOW, "gui.Init() loaded ok!", argGui.GuiFile) + log.Log(NOW, "gui.Init() loaded ok!", ArgvGui.GuiFile) return p } } -- cgit v1.2.3