Skip to content

Commit 5052d3c

Browse files
committed
remove update command
1 parent 06d0718 commit 5052d3c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

dm/dm-manage-source.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ help operate-source
3232
```
3333

3434
```
35-
`create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
35+
`create`/`stop`/`show` upstream MySQL/MariaDB source.
3636
3737
Usage:
3838
dmctl operate-source <operate-type> [config-file ...] [--print-sample-config] [flags]
@@ -47,11 +47,9 @@ Global Flags:
4747

4848
### Flags description
4949

50-
+ `create`: Creates one or more upstream database source(s). When creating multiple data sources fails, DM rolls back to the state where the command was not executed.
50+
+ `create`: Creates one or more upstream database sources. When creating multiple data sources fails, DM rolls back to the state where the command was not executed.
5151

52-
+ `update`: Updates an upstream database source.
53-
54-
+ `stop`: Stops one or more upstream database source(s). When stopping multiple data sources fails, some data sources might be stopped.
52+
+ `stop`: Stops one or more upstream database sources. When stopping multiple data sources fails, some data sources might be stopped.
5553

5654
+ `show`: Shows the added data source and the corresponding DM-worker.
5755

dm/dmctl-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Available Commands:
4949
offline-member Offlines member which has been closed.
5050
operate-leader `evict`/`cancel-evict` the leader.
5151
operate-schema `get`/`set`/`remove` the schema for an upstream table.
52-
operate-source `create`/`update`/`stop`/`show` upstream MySQL/MariaDB source.
52+
operate-source `create`/`stop`/`show` upstream MySQL/MariaDB source.
5353
pause-relay Pauses DM-worker's relay unit.
5454
pause-task Pauses a specified running task.
5555
purge-relay Purges relay log files of the DM-worker according to the specified filename.

0 commit comments

Comments
 (0)