checkAdminUserRemoveSyntax - validate all the passed arguments
(ctx *cli.Context)
| 49 | |
| 50 | // checkAdminUserRemoveSyntax - validate all the passed arguments |
| 51 | func checkAdminUserRemoveSyntax(ctx *cli.Context) { |
| 52 | if len(ctx.Args()) != 2 { |
| 53 | showCommandHelpAndExit(ctx, 1) // last argument is exit code |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // mainAdminUserRemove is the handle for "mc admin user remove" command. |
| 58 | func mainAdminUserRemove(ctx *cli.Context) error { |
no test coverage detected