From ca14b00b342d2e30595b8730585315cd6ab80ed7 Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Fri, 3 Nov 2023 20:40:27 +0100 Subject: [PATCH] docs: show hashsum arguments as optional in usage string --- cmd/hashsum/hashsum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hashsum/hashsum.go b/cmd/hashsum/hashsum.go index f0df57815..098483499 100644 --- a/cmd/hashsum/hashsum.go +++ b/cmd/hashsum/hashsum.go @@ -82,7 +82,7 @@ func CreateFromStdinArg(ht hash.Type, args []string, startArg int) (bool, error) } var commandDefinition = &cobra.Command{ - Use: "hashsum remote:path", + Use: "hashsum [ remote:path]", Short: `Produces a hashsum file for all the objects in the path.`, Long: ` Produces a hash file for all the objects in the path using the hash