1
mirror of https://github.com/rclone/rclone synced 2024-11-14 13:36:24 +01:00

docs: show hashsum arguments as optional in usage string

This commit is contained in:
albertony 2023-11-03 20:40:27 +01:00
parent 52d444f4a9
commit ca14b00b34

View File

@ -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