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 }