fix: issue with list double prints

This commit is contained in:
David Allen 2025-06-20 14:15:20 -06:00
parent 333b65a379
commit 829f97d065
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -99,6 +99,7 @@ func init() {
listDrivesCmd.Flags().StringVarP(&listPassword, "password", "p", "", "Set the password for BMC login")
listDrivesCmd.Flags().BoolVarP(&insecure, "insecure", "i", false, "Skip TLS verification")
listDrivesCmd.Flags().StringVarP(&secretsFile, "secrets-file", "f", "secrets.json", "Set the path to secrets store file to store credentials")
listDrivesCmd.Flags().StringVarP(&listOutputFormat, "format", "F", FORMAT_LIST, "Set the output format (list|json|yaml)")
ListCmd.AddCommand(listDrivesCmd)
rootCmd.AddCommand(ListCmd)