diff --git a/coconut/cmd/configuration_dump.go b/coconut/cmd/configuration_dump.go index df1c13448..c2268ab09 100644 --- a/coconut/cmd/configuration_dump.go +++ b/coconut/cmd/configuration_dump.go @@ -36,7 +36,9 @@ var configurationDumpCmd = &cobra.Command{ Short: "dump configuration subtree", Long: `The configuration dump command requests from O² Configuration a subtree of key-values, and dumps it to standard output in the specified -format.`, +format. This command has full read access to the O² Configuration store +and performs a raw query with no additional processing or access control +semantics.`, Run: configuration.WrapCall(configuration.Dump), Args: cobra.ExactArgs(1), } diff --git a/coconut/cmd/configuration_history.go b/coconut/cmd/configuration_history.go index defb7de42..5da96e74d 100644 --- a/coconut/cmd/configuration_history.go +++ b/coconut/cmd/configuration_history.go @@ -34,7 +34,7 @@ var configurationHistoryCmd = &cobra.Command{ Aliases: []string{"h"}, Example: `coconut conf history coconut conf history -coconut conf history /`, +coconut conf history ///`, Short: "List all existing entries with timestamps of a specified component in Consul", Long: `The configuration history command returns all entries with all of their associated timestamps or returns all timestamps for a specified component and entry`, diff --git a/coconut/cmd/configuration_import.go b/coconut/cmd/configuration_import.go index 2c2de3c04..f757f68f7 100644 --- a/coconut/cmd/configuration_import.go +++ b/coconut/cmd/configuration_import.go @@ -33,9 +33,9 @@ var configurationImportCmd = &cobra.Command{ Use: "import ", Aliases: []string{"i", "imp"}, Example: `coconut conf import -coconut conf import / +coconut conf import /// coconut conf import --new-component -coconut conf import / --format=json +coconut conf import /// --format=json coconut conf import .json coconut conf import --no-versioning coconut conf import --no-versioning --new-component diff --git a/coconut/cmd/configuration_show.go b/coconut/cmd/configuration_show.go index a25c754f7..7ee168b79 100644 --- a/coconut/cmd/configuration_show.go +++ b/coconut/cmd/configuration_show.go @@ -34,9 +34,10 @@ var configurationShowCmd = &cobra.Command{ Aliases: []string{"s"}, Example: `coconut conf show coconut conf show -t -coconut conf show / -coconut conf show / -t -coconut conf show /@`, +coconut conf show /// +coconut conf show /// -t +coconut conf show ///@ +coconut conf show -s -e '{"key1": "value1", "key2": "value2"}'`, Short: "Show configuration for the component and entry specified", Long: `The configuration show command returns the most recent configuration revision for the specified component and entry.