diff options
| author | Jeff Carr <[email protected]> | 2025-10-28 05:09:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-28 05:09:05 -0500 |
| commit | d0b5b0842064a38a05a8023734bd7105bb2ab90f (patch) | |
| tree | b06a7bd184a37b0a16bf60f8aa52972c71cbff13 /main.go | |
| parent | b339658a81d79a4cfb00797d196d3aace08d2513 (diff) | |
cleaner argv options. argv/go-args help working again
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
