Skip to content

Commit 3a03302

Browse files
author
Jeff McCormick
committed
fix pgo cli to set the BackupType default value for pgo backup command
1 parent 4ddad56 commit 3a03302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgo/cmd/show.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func init() {
9292
ShowCmd.AddCommand(ShowUpgradeCmd)
9393
ShowCmd.AddCommand(ShowUserCmd)
9494

95-
ShowBackupCmd.Flags().StringVarP(&BackupType, "backup-type", "", "", "The backup type output to list. Valid choices are pgbasebackup or pgbackrest.")
95+
ShowBackupCmd.Flags().StringVarP(&BackupType, "backup-type", "", util.LABEL_BACKUP_TYPE_BASEBACKUP, "The backup type output to list. Valid choices are pgbasebackup (default) or pgbackrest.")
9696
ShowClusterCmd.Flags().StringVarP(&PostgresVersion, "version", "v", "", "Filter the results based on the PostgreSQL version of the cluster.")
9797
ShowClusterCmd.Flags().StringVarP(&Selector, "selector", "s", "", "The selector to use for cluster filtering.")
9898
ShowUserCmd.Flags().StringVarP(&Selector, "selector", "s", "", "The selector to use for cluster filtering.")

0 commit comments

Comments
 (0)