diff --git a/go/vt/vtctl/vtctl.go b/go/vt/vtctl/vtctl.go index 4f413717770..82aeb0ce5e2 100644 --- a/go/vt/vtctl/vtctl.go +++ b/go/vt/vtctl/vtctl.go @@ -316,7 +316,7 @@ var commands = []commandGroup{ "Start a Resharding process. Example: Reshard -cells='zone1,alias1' -tablet_types='master,replica,rdonly' ks.workflow001 '0' '-80,80-'"}, {"MoveTables", commandMoveTables, "[-cells=] [-tablet_types=] -workflow= ", - `Move table(s) to another keyspace, table_specs is a list of tables or the tables section of the vschema for the target keyspace. Example: '{"t1":{"column_vindexes": [{"column": "id1", "name": "hash"}]}, "t2":{"column_vindexes": [{"column": "id2", "name": "hash"}]}}'`}, + `Move table(s) to another keyspace, table_specs is a list of tables or the tables section of the vschema for the target keyspace. Example: '{"t1":{"column_vindexes": [{"column": "id1", "name": "hash"}]}, "t2":{"column_vindexes": [{"column": "id2", "name": "hash"}]}}'. In the case of an unsharded target keyspace the vschema for each table may be empty. Example: '{"t1":{}, "t2":{}}'.`}, {"DropSources", commandDropSources, "[-dry_run] [-rename_tables] ", "After a MoveTables or Resharding workflow cleanup unused artifacts like source tables, source shards and blacklists"}, @@ -1891,9 +1891,9 @@ func commandReshard(ctx context.Context, wr *wrangler.Wrangler, subFlags *flag.F } func commandMoveTables(ctx context.Context, wr *wrangler.Wrangler, subFlags *flag.FlagSet, args []string) error { - workflow := subFlags.String("workflow", "", "Workflow name. Will be used to later migrate traffic.") + workflow := subFlags.String("workflow", "", "Workflow name. Can be any descriptive string. Will be used to later migrate traffic via SwitchReads/SwitchWrites.") cells := subFlags.String("cells", "", "Cell(s) or CellAlias(es) (comma-separated) to replicate from.") - tabletTypes := subFlags.String("tablet_types", "", "Source tablet types to replicate from.") + tabletTypes := subFlags.String("tablet_types", "", "Source tablet types to replicate from (e.g. master, replica, rdonly). Defaults to -vreplication_tablet_type parameter value for the tablet, which has the default value of replica.") if err := subFlags.Parse(args); err != nil { return err }