checkBatchListSyntax - validate all the passed arguments
(ctx *cli.Context)
| 176 | |
| 177 | // checkBatchListSyntax - validate all the passed arguments |
| 178 | func checkBatchListSyntax(ctx *cli.Context) { |
| 179 | if len(ctx.Args()) != 1 { |
| 180 | showCommandHelpAndExit(ctx, 1) // last argument is exit code |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | // mainBatchList is the handle for "mc batch create" command. |
| 185 | func mainBatchList(ctx *cli.Context) error { |
no test coverage detected