From 9a88efb3165ca1308c234046b59abe2bb4ec0881 Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio Date: Wed, 18 Sep 2024 17:03:50 -0400 Subject: [PATCH] dbaas: Fix typo and add additional detail in config update help. (#1583) --- commands/databases.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/commands/databases.go b/commands/databases.go index 73468b1fd..5ebb8529e 100644 --- a/commands/databases.go +++ b/commands/databases.go @@ -2424,8 +2424,11 @@ func databaseConfiguration() *Command { Long: "The subcommands of `doctl databases configuration` are used to view a database cluster's configuration.", }, } - getConfigurationLongDesc := "Retrieves the configuration for the specified cluster, including its backup settings, temporary file limit, and session timeout values." - updateConfigurationLongDesc := "Updates the specified database cluster's configuration. Using this command, you can update varioous settings like backup times, temporary file limits, and session timeouts." + getConfigurationLongDesc := "Retrieves the advanced configuration for the specified cluster, including its backup settings, temporary file limit, and session timeout values." + updateConfigurationLongDesc := `Updates the specified database cluster's advanced configuration. Using this command, you can update various settings like backup times, temporary file limits, and session timeouts. Available settings vary by database engine. + +This command functions as a PATCH request, meaning that only the specified fields are updated. If a field is not specified, it will not be changed. The settings are passed using the ` + "`" + `--config-json` + "`" + ` flag, which takes a JSON object as its value. +` getDatabaseCfgCommand := CmdBuilder(