From effaae7763a584bd670efd1eec82817368855bbe Mon Sep 17 00:00:00 2001 From: LexLuthr Date: Wed, 27 Mar 2024 18:09:31 +0400 Subject: [PATCH] fix curio flags --- cmd/curio/main.go | 3 +-- documentation/en/cli-curio.md | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/curio/main.go b/cmd/curio/main.go index 8c64af37984..7314e27dd69 100644 --- a/cmd/curio/main.go +++ b/cmd/curio/main.go @@ -107,7 +107,7 @@ func main() { Name: "db-host", EnvVars: []string{"CURIO_DB_HOST", "CURIO_HARMONYDB_HOSTS"}, Usage: "Command separated list of hostnames for yugabyte cluster", - Value: "yugabyte", + Value: "127.0.0.1", }, &cli.StringFlag{ Name: "db-name", @@ -127,7 +127,6 @@ func main() { &cli.StringFlag{ Name: "db-port", EnvVars: []string{"CURIO_DB_PORT", "CURIO_HARMONYDB_PORT"}, - Hidden: true, Value: "5433", }, &cli.StringFlag{ diff --git a/documentation/en/cli-curio.md b/documentation/en/cli-curio.md index 9d3d35b5d4e..b16b1fb781a 100644 --- a/documentation/en/cli-curio.md +++ b/documentation/en/cli-curio.md @@ -28,10 +28,11 @@ COMMANDS: GLOBAL OPTIONS: --color use color in display output (default: depends on output being a TTY) - --db-host value Command separated list of hostnames for yugabyte cluster (default: "yugabyte") [$CURIO_DB_HOST, $CURIO_HARMONYDB_HOSTS] + --db-host value Command separated list of hostnames for yugabyte cluster (default: "127.0.0.1") [$CURIO_DB_HOST, $CURIO_HARMONYDB_HOSTS] --db-name value (default: "yugabyte") [$CURIO_DB_NAME, $CURIO_HARMONYDB_NAME] --db-user value (default: "yugabyte") [$CURIO_DB_USER, $CURIO_HARMONYDB_USERNAME] --db-password value (default: "yugabyte") [$CURIO_DB_PASSWORD, $CURIO_HARMONYDB_PASSWORD] + --db-port value (default: "5433") [$CURIO_DB_PORT, $CURIO_HARMONYDB_PORT] --repo-path value (default: "~/.curio") [$CURIO_REPO_PATH] --vv enables very verbose mode, useful for debugging the CLI (default: false) --help, -h show help