Skip to content

Commit 3a101bc

Browse files
authored
Unhide the keyspace settings and update-settings commands (#1016)
1 parent d86b897 commit 3a101bc

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

internal/cmd/keyspace/settings.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ import (
1212
// SettingsCmd is a command that shows the settings for a keyspace
1313
func SettingsCmd(ch *cmdutil.Helper) *cobra.Command {
1414
cmd := &cobra.Command{
15-
Use: "settings <database> <branch> <keyspace>",
16-
Short: "Show the settings for a keyspace",
17-
Args: cmdutil.RequiredArgs("database", "branch", "keyspace"),
18-
Hidden: true,
15+
Use: "settings <database> <branch> <keyspace>",
16+
Short: "Show the settings for a keyspace",
17+
Args: cmdutil.RequiredArgs("database", "branch", "keyspace"),
1918
RunE: func(cmd *cobra.Command, args []string) error {
2019
ctx := cmd.Context()
2120
database, branch, keyspace := args[0], args[1], args[2]

internal/cmd/keyspace/update_settings.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ func UpdateSettingsCmd(ch *cmdutil.Helper) *cobra.Command {
2424
flags.vreplicationFlags = &ps.VReplicationFlags{}
2525

2626
cmd := &cobra.Command{
27-
Use: "update-settings <database> <branch> <keyspace>",
28-
Short: "Update the settings for a keyspace",
29-
Args: cmdutil.RequiredArgs("database", "branch", "keyspace"),
30-
Hidden: true,
27+
Use: "update-settings <database> <branch> <keyspace>",
28+
Short: "Update the settings for a keyspace",
29+
Args: cmdutil.RequiredArgs("database", "branch", "keyspace"),
3130
RunE: func(cmd *cobra.Command, args []string) error {
3231
ctx := cmd.Context()
3332
database, branch, keyspace := args[0], args[1], args[2]

0 commit comments

Comments
 (0)