We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected "}" in operand
mc cp -h command should be returning the help prompt instead of an error.
mc cp -h
mc cp -h command returns the following error:
panic: template: help:62: unexpected "}" in operand goroutine 1 [running]: text/template.Must(...) /opt/go/src/text/template/helper.go:23 github.com/minio/cli.printHelpCustom(0x1a7d240, 0xc00000e018, 0x198a6f5, 0xe42, 0x1938a80, 0xc000199500, 0x0) /q/.q/sources/gopath/pkg/mod/github.com/minio/cli@v1.22.0/help.go:260 +0x514 github.com/minio/cli.ShowCommandHelp(0xc000285520, 0x1942769, 0x2, 0x1, 0xc000285520) /q/.q/sources/gopath/pkg/mod/github.com/minio/cli@v1.22.0/help.go:203 +0x4ae github.com/minio/cli.checkCommandHelp(0xc000285520, 0x1942769, 0x2, 0xc000215440) /q/.q/sources/gopath/pkg/mod/github.com/minio/cli@v1.22.0/help.go:303 +0x7d github.com/minio/cli.Command.Run(0x1942769, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x194b55e, 0xc, 0x0, ...) /q/.q/sources/gopath/pkg/mod/github.com/minio/cli@v1.22.0/command.go:192 +0x930 github.com/minio/cli.(*App).Run(0xc000284000, 0xc0000300c0, 0x3, 0x3, 0x0, 0x0) /q/.q/sources/gopath/pkg/mod/github.com/minio/cli@v1.22.0/app.go:261 +0x6ab github.com/minio/mc/cmd.Main(0xc0000300c0, 0x3, 0x3) /q/.q/sources/gopath/src/github.com/minio/mc/cmd/main.go:113 +0x29c main.main() /q/.q/sources/gopath/src/github.com/minio/mc/main.go:34 +0x45
Type the mc cp -h command.
macOS Catalina Version 10.15.1
The text was updated successfully, but these errors were encountered:
Fixed with #3047
Sorry, something went wrong.
No branches or pull requests
Expected behavior
mc cp -h
command should be returning the help prompt instead of an error.Actual behavior
mc cp -h
command returns the following error:Steps to reproduce the behavior
Type the
mc cp -h
command.mc --version
System information
macOS Catalina Version 10.15.1
The text was updated successfully, but these errors were encountered: