Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions pkg/cmd/cluster/dataprotection.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ var (
# list all backups
kbcli cluster list-backups

# list all backups of the cluster
# list all backups of the cluster
kbcli cluster list-backups <clusterName>
# list the specified backups

# list the specified backups
kbcli cluster list-backups --names b1,b2
`)
deleteBackupExample = templates.Examples(`
Expand All @@ -86,10 +86,10 @@ var (
# list all restores
kbcli cluster list-restores

# list all restores of the cluster
# list all restores of the cluster
kbcli cluster list-restores <clusterName>
# list the specified restores

# list the specified restores
kbcli cluster list-restores --names r1,r2
`)
describeBackupExample = templates.Examples(`
Expand All @@ -116,7 +116,7 @@ func NewCreateBackupCmd(f cmdutil.Factory, streams genericiooptions.IOStreams) *
customOutPut := func(opt *action.CreateOptions) {
output := fmt.Sprintf("Backup %s created successfully, you can view the progress:", opt.Name)
printer.PrintLine(output)
nextLine := fmt.Sprintf("\tkbcli cluster list-backups --name=%s -n %s", opt.Name, opt.Namespace)
nextLine := fmt.Sprintf("\tkbcli cluster list-backups --names=%s -n %s", opt.Name, opt.Namespace)
printer.PrintLine(nextLine)
}

Expand Down
Loading