diff options
| author | Jeff Carr <[email protected]> | 2025-10-13 20:38:15 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-13 20:38:15 -0500 |
| commit | 311135afdeae5789350d56780a8c507e83165473 (patch) | |
| tree | 0c53116f1eabda5180fd142d631c9e6099aca16d | |
| parent | 164b009676b8764bf0923081205a8adc4a91f816 (diff) | |
don't panic. the binaries should work, just no argv support
| -rw-r--r-- | gui.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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") } |
