From f0f51057d6347f3924b9abf66a4f3124349414e7 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 28 Jan 2025 13:30:30 -0500 Subject: [PATCH] hint how to list valid env configName(s) --- CHANGELOG.md | 4 ++++ cmd/zrok/configGet.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2933da2d..afa20c85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/cmd/zrok/configGet.go b/cmd/zrok/configGet.go index 0d1905d0..53145687 100644 --- a/cmd/zrok/configGet.go +++ b/cmd/zrok/configGet.go @@ -17,7 +17,7 @@ type configGetCommand struct { func newConfigGetCommand() *configGetCommand { cmd := &cobra.Command{ Use: "get ", - 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}