From 3d492e26aecdbe9e9e70c3b5974dc1deae4110e4 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 9 Dec 2023 19:04:26 +0400 Subject: [PATCH] Return 1 exit code if there are no args provided. --- cmd/mccl/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mccl/main.go b/cmd/mccl/main.go index ddd911a..becde20 100755 --- a/cmd/mccl/main.go +++ b/cmd/mccl/main.go @@ -31,7 +31,7 @@ func main() { if len(os.Args) < 2 { usage() - os.Exit(0) + os.Exit(1) } var cmd commands.Command