maybe this'll work
This commit is contained in:
parent
77eed08e7a
commit
1442d4f6c5
4
Makefile
4
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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue