From cfc0429a1eb1b2e7a171ab19b8fad052f8fb7cb0 Mon Sep 17 00:00:00 2001 From: ramin Date: Wed, 12 Jun 2024 12:42:34 +0100 Subject: [PATCH] add valid commands --- cmd/cel-shed/hash_presence.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cel-shed/hash_presence.go b/cmd/cel-shed/hash_presence.go index 30b0ac5521..39e3bb65df 100644 --- a/cmd/cel-shed/hash_presence.go +++ b/cmd/cel-shed/hash_presence.go @@ -84,7 +84,7 @@ var hashCmd = &cobra.Command{ fmt.Println(string(output)) default: - return fmt.Errorf("unknown command: %s", command) + return fmt.Errorf("unknown command: %s. Valid commands: has, exists, get", command) } return nil