diff options
| author | Jeff Carr <[email protected]> | 2025-10-28 08:40:26 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-28 08:40:26 -0500 |
| commit | 10064774935efffdfda80adc68d06cb1b1fd01d8 (patch) | |
| tree | e3e39e2bf1afb15b8d3ba662d392fc14a27fed4d /main.go | |
| parent | 0e83fccb13f0c7d84fe6db01565d5c6a876d7320 (diff) | |
rearrange now that argv is working
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,6 +30,7 @@ func doCoreChecks() { // log.Info("things are still normal") } else { log.Info("doNormalStatus() failed. things are not normal anymore") + me.forge.SetUserMode() } } else { if !me.forge.IsModeNormal() { @@ -56,7 +57,8 @@ func main() { } if me.forge.IsModeUnknown() || me.forge.IsModeNewUser() { - doNewUser() + panic("always gets here") + // doNewUser() } // put things to do every time forge runs here @@ -72,7 +74,7 @@ func main() { argvpb.GoodExit(s) } - log.Info("Starting forge with subcommand:", argvpb.GetCmd()) + log.Info("Starting forge with subcommand:", argvpb.Real()) s, err = doSubcommand() // if the gui starts, it doesn't yet go to the end normally |
