Skip to content

Commit 11d2f97

Browse files
VDiff CLI: add missing target keyspace in VDiff command examples (#15525)
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
1 parent 265e0b9 commit 11d2f97

File tree

1 file changed

+6
-6
lines changed
  • go/cmd/vtctldclient/command/vreplication/vdiff

1 file changed

+6
-6
lines changed

go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --targe
154154
delete = &cobra.Command{
155155
Use: "delete",
156156
Short: "Delete VDiffs.",
157-
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace delete a037a9e2-5628-11ee-8c99-0242ac120002
157+
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer delete a037a9e2-5628-11ee-8c99-0242ac120002
158158
vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace delete all`,
159159
DisableFlagsInUseLine: true,
160160
Aliases: []string{"Delete"},
@@ -179,7 +179,7 @@ vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --targe
179179
resume = &cobra.Command{
180180
Use: "resume",
181181
Short: "Resume a VDiff.",
182-
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace resume a037a9e2-5628-11ee-8c99-0242ac120002`,
182+
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer resume a037a9e2-5628-11ee-8c99-0242ac120002`,
183183
DisableFlagsInUseLine: true,
184184
Aliases: []string{"Resume"},
185185
Args: cobra.ExactArgs(1),
@@ -198,9 +198,9 @@ vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --targe
198198
show = &cobra.Command{
199199
Use: "show",
200200
Short: "Show the status of a VDiff.",
201-
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace show last
202-
vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace show a037a9e2-5628-11ee-8c99-0242ac120002
203-
vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace show all`,
201+
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer show last
202+
vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer show a037a9e2-5628-11ee-8c99-0242ac120002
203+
vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer show all`,
204204
DisableFlagsInUseLine: true,
205205
Aliases: []string{"Show"},
206206
Args: cobra.ExactArgs(1),
@@ -224,7 +224,7 @@ vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --targe
224224
stop = &cobra.Command{
225225
Use: "stop",
226226
Short: "Stop a running VDiff.",
227-
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace stop a037a9e2-5628-11ee-8c99-0242ac120002`,
227+
Example: `vtctldclient --server localhost:15999 vdiff --workflow commerce2customer --target-keyspace customer stop a037a9e2-5628-11ee-8c99-0242ac120002`,
228228
DisableFlagsInUseLine: true,
229229
Aliases: []string{"Stop"},
230230
Args: cobra.ExactArgs(1),

0 commit comments

Comments
 (0)