From cd79b122db6a6cce0e89689f4b85114c48f834ee Mon Sep 17 00:00:00 2001 From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Date: Fri, 29 Nov 2024 02:36:59 -0600 Subject: [PATCH] Expose Zip flags (#352) Signed-off-by: Daniel Valdivia --- cli/zip.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/zip.go b/cli/zip.go index 4ad44b56..01b04506 100644 --- a/cli/zip.go +++ b/cli/zip.go @@ -45,12 +45,14 @@ var zipFlags = []cli.Flag{ }, } +var ZipCombinedFlags = combineFlags(globalFlags, ioFlags, zipFlags, genFlags, benchFlags, analyzeFlags) + var zipCmd = cli.Command{ Name: "zip", Usage: "benchmark minio s3zip", Action: mainZip, Before: setGlobalsFromContext, - Flags: combineFlags(globalFlags, ioFlags, zipFlags, genFlags, benchFlags, analyzeFlags), + Flags: ZipCombinedFlags, CustomHelpTemplate: `NAME: {{.HelpName}} - {{.Usage}}