Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions internal/cmd/branch/vtctld/list_tablets.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ func ListTabletsCmd(ch *cmdutil.Helper) *cobra.Command {
}

cmd := &cobra.Command{
Use: "list-tablets <database> <branch>",
Hidden: true,
Short: "List tablets for a branch, grouped by keyspace and shard",
Args: cmdutil.RequiredArgs("database", "branch"),
Use: "list-tablets <database> <branch>",
Short: "List tablets for a branch, grouped by keyspace and shard",
Args: cmdutil.RequiredArgs("database", "branch"),
RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
database, branch := args[0], args[1]
Expand Down
5 changes: 2 additions & 3 deletions internal/cmd/branch/vtctld/lookup_vindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (

func LookupVindexCmd(ch *cmdutil.Helper) *cobra.Command {
cmd := &cobra.Command{
Use: "lookup-vindex <command>",
Short: "Manage Lookup Vindex operations",
Hidden: true,
Use: "lookup-vindex <command>",
Short: "Manage Lookup Vindex operations",
}

cmd.AddCommand(LookupVindexCreateCmd(ch))
Expand Down
5 changes: 2 additions & 3 deletions internal/cmd/branch/vtctld/materialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import (

func MaterializeCmd(ch *cmdutil.Helper) *cobra.Command {
cmd := &cobra.Command{
Use: "materialize <command>",
Short: "Manage Materialize workflows",
Hidden: true,
Use: "materialize <command>",
Short: "Manage Materialize workflows",
}

cmd.AddCommand(MaterializeCreateCmd(ch))
Expand Down
5 changes: 2 additions & 3 deletions internal/cmd/branch/vtctld/planned_reparent.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ func PlannedReparentShardCmd(ch *cmdutil.Helper) *cobra.Command {
}

cmd := &cobra.Command{
Use: "planned-reparent-shard <database> <branch>",
Hidden: true,
Short: "Reparent a shard to a new primary",
Use: "planned-reparent-shard <database> <branch>",
Short: "Reparent a shard to a new primary",
Long: `Reparent a shard to a new primary using Vitess PlannedReparentShard.
Both the old and new primaries must be up and running.

Expand Down
Loading