From 4e58df9c9bb7e462100d54cc153afcb1c5b1cae1 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 1 Jun 2023 00:59:03 -0400 Subject: [PATCH] Fix hnctl --- cmd/hnctl/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hnctl/main.go b/cmd/hnctl/main.go index 5cda221..2268b01 100644 --- a/cmd/hnctl/main.go +++ b/cmd/hnctl/main.go @@ -30,7 +30,7 @@ func main () { stopService := stopCommand.String("s", "router", "Service to stop") restartCommand := flag.NewFlagSet("restart", flag.ExitOnError) - restartService := stopCommand.String("s", "router", "Service to restart") + restartService := restartCommand.String("s", "router", "Service to restart") flag.Parse()