mirror of
https://github.com/minio/mc.git
synced 2025-11-10 13:42:32 +03:00
generalize input for ctx.Command.Name (#4338)
This commit is contained in:
@@ -124,7 +124,7 @@ var colors = []color.Attribute{color.FgCyan, color.FgWhite, color.FgYellow, colo
|
||||
|
||||
func checkAdminTraceSyntax(ctx *cli.Context) {
|
||||
if len(ctx.Args()) != 1 {
|
||||
showCommandHelpAndExit(ctx, "trace", 1) // last argument is exit code
|
||||
showCommandHelpAndExit(ctx, 1) // last argument is exit code
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user