summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-28 05:09:05 -0500
committerJeff Carr <[email protected]>2025-10-28 05:09:05 -0500
commitd0b5b0842064a38a05a8023734bd7105bb2ab90f (patch)
treeb06a7bd184a37b0a16bf60f8aa52972c71cbff13 /main.go
parentb339658a81d79a4cfb00797d196d3aace08d2513 (diff)
cleaner argv options. argv/go-args help working again
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 457d574..9d546c4 100644
--- a/main.go
+++ b/main.go
@@ -76,11 +76,12 @@ func main() {
s, err = doSubcommand()
// if the gui starts, it doesn't yet go to the end normally
- if argv.Gui != nil {
+ if argvpb.GetCmd() == "gui" {
me.myGui.Start() // loads the GUI toolkit
doGui() // start making our forge GUI
debug() // sits here forever
}
+
// safe exits back to your shell (with timing and toolkit close)
if err != nil {
argvpb.BadExit(s, err)