From 0c0cf85d70523336ce44383b276fdeacb14b9c99 Mon Sep 17 00:00:00 2001 From: Daniel Valdivia Date: Thu, 28 Nov 2024 15:18:18 -0600 Subject: [PATCH] Expose Zip flags 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}}