From fdb72a8555febb14e2b5e7e1f08792eb72d3551d Mon Sep 17 00:00:00 2001 From: kvanzuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Sun, 10 Dec 2023 03:36:02 +0100 Subject: [PATCH] fix: Fixed help text for explain command --- .gitignore | 2 ++ cmd/explain.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bdc5e47..e3b3350 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ cidr # Dependency directories (remove the comment below to include it) # vendor/ + +.idea/ diff --git a/cmd/explain.go b/cmd/explain.go index 191e9f1..124ef15 100644 --- a/cmd/explain.go +++ b/cmd/explain.go @@ -19,7 +19,7 @@ var ( Short: "Provides information about a CIDR range", Run: func(cmd *cobra.Command, args []string) { if len(args) != 1 { - fmt.Println("error: provide a CIDR range and an IP address") + fmt.Println("error: provide a CIDR range") fmt.Println("See 'cidr contains -h' for help and examples") os.Exit(1) }