MCPcopy Index your code
hub / github.com/minio/mc / checkBatchListSyntax

Function checkBatchListSyntax

cmd/batch-list.go:178–182  ·  view source on GitHub ↗

checkBatchListSyntax - validate all the passed arguments

(ctx *cli.Context)

Source from the content-addressed store, hash-verified

176
177// checkBatchListSyntax - validate all the passed arguments
178func 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.
185func mainBatchList(ctx *cli.Context) error {

Callers 1

mainBatchListFunction · 0.85

Calls 1

showCommandHelpAndExitFunction · 0.85

Tested by

no test coverage detected