From 311135afdeae5789350d56780a8c507e83165473 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Oct 2025 20:38:15 -0500 Subject: don't panic. the binaries should work, just no argv support --- gui.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gui.go b/gui.go index 72459f8..551eaab 100644 --- a/gui.go +++ b/gui.go @@ -1,6 +1,8 @@ package prep import ( + "os" + "go.wit.com/lib/cobol" "go.wit.com/log" ) @@ -23,9 +25,10 @@ func (g *GuiPrep) Start() error { return nil } +// provides a runtime warning to the user that the app was compiled but lacks working features func workInProgress() { s := "Mon Oct 13 10:48:16 CDT 2025" - log.Info(cobol.Time(s) + "") + log.Info(cobol.Time(s) + ": " + os.Args[0] + ": argv features are disabled") log.Info(cobol.Time(s) + ": argv features are under active development") log.Info(cobol.Time(s) + ":") log.Info(cobol.Time(s) + ": argv Gui() support has been moved to go.wit.com/lib/fhelp") @@ -33,5 +36,5 @@ func workInProgress() { log.Info(cobol.Time(s) + ": go.wit.com/apps/forge/argv.go") log.Info(cobol.Time(s) + ": go.wit.com/apps/forge/main.go") log.Info(cobol.Time(s) + ":") - panic("deprecated") + // panic("deprecated") } -- cgit v1.2.3