From 1442d4f6c5b2940a1bafd0fe05fe5bed32015344 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Sep 2025 00:28:27 -0500 Subject: [PATCH] maybe this'll work --- Makefile | 4 ++-- argvAutoshell.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fe97bc9..e22203c 100644 --- a/Makefile +++ b/Makefile @@ -36,9 +36,9 @@ start: stop: systemctl stop forged.service -run: install +run: build systemctl stop forged.service - forged --daemon + ./forged --daemon # setcap 'cap_net_bind_service=+ep' forged # allow the binary to open ports below 1024 prod: build diff --git a/argvAutoshell.go b/argvAutoshell.go index d374360..082dbec 100644 --- a/argvAutoshell.go +++ b/argvAutoshell.go @@ -18,7 +18,7 @@ import ( // used for shell auto completion func (args) doBashAuto() { - argv.doBashHelp() + // argv.doBashHelp() switch argv.BashAuto[0] { case "merge": fmt.Println("--force") @@ -42,6 +42,7 @@ func (args) doBashHelp() { return } if argv.BashAuto[0] != ARGNAME { + fmt.Fprintln(os.Stderr, argv.BashAuto[0]) // if this is not the name of the command, the user already started doing something return }