From 0f38e7cb3c118640b0b375e844e59dd550c6af1e Mon Sep 17 00:00:00 2001 From: Zixuan Liu Date: Wed, 16 Feb 2022 15:02:20 +0800 Subject: [PATCH] fix: fix create-secret-key output flag Signed-off-by: Zixuan Liu --- pkg/ctl/token/create_secret_key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ctl/token/create_secret_key.go b/pkg/ctl/token/create_secret_key.go index 1aef4e3f..7ac08dc3 100644 --- a/pkg/ctl/token/create_secret_key.go +++ b/pkg/ctl/token/create_secret_key.go @@ -47,7 +47,7 @@ func createSecretKey(vc *cmdutils.VerbCmd) { outputToFile := cmdutils.Example{ Desc: "Create a secret key and save it to a file.", - Command: "pulsarctl token create-secret-key --output (file path)", + Command: "pulsarctl token create-secret-key --output-file (file path)", } examples = append(examples, outputToTerminal, outputWithBase64, outputToFile) desc.CommandExamples = examples