From d1042d77aaa4538ef98e0c6d5d604ce816cc9906 Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 24 Mar 2025 14:29:16 -0600 Subject: [PATCH] refactor: changed short opts for secret store --- cmd/secrets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/secrets.go b/cmd/secrets.go index c6e1972..fb61168 100644 --- a/cmd/secrets.go +++ b/cmd/secrets.go @@ -252,8 +252,8 @@ var secretsRemoveCmd = &cobra.Command{ } func init() { - secretsCmd.Flags().StringVarP(&secretsFile, "output-file", "o", "nodes.json", "set the secrets file with BMC credentials") - secretsStoreCmd.Flags().StringVarP(&secretsStoreFormat, "format", "f", "basic", "set the input format for the secrets file (basic|json|base64)") + secretsCmd.Flags().StringVarP(&secretsFile, "file", "f", "nodes.json", "set the secrets file with BMC credentials") + secretsStoreCmd.Flags().StringVarP(&secretsStoreFormat, "format", "F", "basic", "set the input format for the secrets file (basic|json|base64)") secretsStoreCmd.Flags().StringVarP(&secretsStoreInputFile, "input-file", "i", "", "set the file to read as input") secretsCmd.AddCommand(secretsGenerateKeyCmd)