Skip to content

Commit 95a054e

Browse files
author
jmccormick2001
committed
remove --no-prompt from pgo backup CLI command and docs, this flag was removed functionally this release
1 parent 1f2f443 commit 95a054e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

hugo/content/getting-started/_index.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,6 @@ $ pgo backup NAME [FLAGS]
536536
|=========================================================
537537
|Name |Shorthand |Input |Usage
538538

539-
|`--no-prompt` |-n |N/A |
540-
No command line confirmation.
541-
542539
|`--selector` |-s |String |
543540
The selector to use for cluster filtering.
544541

pgo/cmd/backup.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ func init() {
6262
backupCmd.Flags().StringVarP(&Selector, "selector", "s", "", "The selector to use for cluster filtering.")
6363
backupCmd.Flags().StringVarP(&PVCName, "pvc-name", "", "", "The PVC name to use for the backup instead of the default.")
6464
backupCmd.Flags().StringVarP(&StorageConfig, "storage-config", "", "", "The name of a Storage config in pgo.yaml to use for the cluster storage. Only applies to pgbasebackup backups.")
65-
backupCmd.Flags().BoolVarP(&NoPrompt, "no-prompt", "n", false, "No command line confirmation.")
6665
backupCmd.Flags().StringVarP(&BackupType, "backup-type", "", "", "The backup type to perform. Default is pgbasebackup, and both pgbasebackup and pgbackrest are valid backup types.")
6766
backupCmd.Flags().StringVarP(&BackrestOpts, "pgbackrest-opts", "", "", "The pgbackrest backup options to pass.")
6867

0 commit comments

Comments
 (0)