Skip to content

Commit daf11f1

Browse files
committed
update examples
1 parent d2f0798 commit daf11f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/cmd/volume/backup/restore/restore.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
3636
Args: args.SingleArg(backupIdArg, utils.ValidateUUID),
3737
Example: examples.Build(
3838
examples.NewExample(
39-
`Restore a backup`,
40-
"$ stackit volume backup restore xxx-xxx-xxx"),
41-
examples.NewExample(
42-
`Restore a backup and wait for restore to be completed`,
43-
"$ stackit volume backup restore xxx-xxx-xxx --async=false"),
39+
`Restore a backup with ID "xxx"`, "$ stackit volume backup restore xxx"),
4440
),
4541
RunE: func(cmd *cobra.Command, args []string) error {
4642
ctx := context.Background()

0 commit comments

Comments
 (0)