Skip to content

Commit

Permalink
bug: enable exporting org scoped kvms #540 (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan authored Sep 17, 2024
1 parent 96575cf commit dd7b9e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cmd/kvm/expkvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var ExpCmd = &cobra.Command{
apiclient.DisableCmdPrintHttpResponse()

// return all kvm entries from all proxies
if env == "" && proxyName == "" {
if env == "" && proxyName == "*" {
return kvm.ExportAllEntries()
}

Expand Down Expand Up @@ -92,7 +92,7 @@ var ExpCmd = &cobra.Command{

func init() {
ExpCmd.Flags().StringVarP(&env, "env", "e",
"", "Environment name")
"", "Environment name. Omit this param to export org scoped KVMs")
ExpCmd.Flags().StringVarP(&proxyName, "proxy", "p",
"", "API Proxy name")
"", "API Proxy name; Use * to export all KVMs from all proxies. Omit this param to export org scoped KVMs")
}

0 comments on commit dd7b9e1

Please sign in to comment.