From 4cf95d765ab3a43153ec4f794bd3ac557dd85412 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Tue, 4 Jun 2024 09:44:08 -0500 Subject: [PATCH] fix: fixing issue with unexisting command #26 --- cmd/doco/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/doco/main.go b/cmd/doco/main.go index f1eb9f2..458135d 100644 --- a/cmd/doco/main.go +++ b/cmd/doco/main.go @@ -55,7 +55,7 @@ func main() { case "help": printHelp(os.Stdout) default: - fmt.Printf("Unknown command %s\n", args[1]) + fmt.Printf("Unknown command %s\n", args[0]) fmt.Println("--------") printHelp(os.Stdout) }