hint how to list valid env configName(s)

This commit is contained in:
Kenneth Bingham 2025-01-28 13:30:30 -05:00
parent 6554897473
commit f0f51057d6
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# CHANGELOG
## v0.4.47
CHANGE: Add usage hint in `zrok config get --help` to clarify how to list all valid `configName` and their current values by running `zrok status`.
## v0.4.46
FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818)

View File

@ -17,7 +17,7 @@ type configGetCommand struct {
func newConfigGetCommand() *configGetCommand {
cmd := &cobra.Command{
Use: "get <configName>",
Short: "Get a value from the environment config",
Short: "Get a value from the environment config. Run 'zrok status' to list valid config names and their current values.",
Args: cobra.ExactArgs(1),
}
command := &configGetCommand{cmd: cmd}