Skip to content

[BUG]The given kbcli cluster list-backups command includes an unknown flag #600

@tianyue86

Description

@tianyue86

Describe the bug

Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.48
kbcli: 1.0.0-beta.21

To Reproduce
Steps to reproduce the behavior:

kbcli cluster backup mongodb-lkpaky2 --method datafile --namespace default
Backup backup-default-mongodb-lkpaky2-20250519175832 created successfully, you can view the progress:
	kbcli cluster list-backups --name=backup-default-mongodb-lkpaky2-20250519175832 -n default
tianyue@192 kubeblocks-addons % kbcli cluster list-backups --name=backup-default-mongodb-lkpaky2-20250519175832 -n default
error: unknown flag: --name
See 'kbcli cluster list-backups --help' for usage.
===》The given kbcli cluster list-backups command includes an unknown flag

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions