maybe this'll work

This commit is contained in:
Jeff Carr 2025-09-05 00:28:27 -05:00
parent 77eed08e7a
commit 1442d4f6c5
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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
}