Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: show hashsum arguments as optional in usage string

albertonyca14b00b342d
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 <hash> remote:path",
+ Use: "hashsum [<hash> 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