diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ff2f609..3bdce62f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ MAJOR RELEASE: zrok reaches version 1.0.0! +## v0.4.41 + +FIX: Fixed crash when invoking `zrok share reserved` with no arguments (https://github.com/openziti/zrok/issues/740) + ## v0.4.40 FEATURE: New endpoint for synchronizing grants for an account (https://github.com/openziti/zrok/pull/744). Useful for updating the `zrok.proxy.v1` config objects containing interstitial setting when the `skip_interstitial_grants` table has been updated. diff --git a/cmd/zrok/shareReserved.go b/cmd/zrok/shareReserved.go index 16e577c3..0d5688e4 100644 --- a/cmd/zrok/shareReserved.go +++ b/cmd/zrok/shareReserved.go @@ -36,6 +36,7 @@ func newShareReservedCommand() *shareReservedCommand { cmd := &cobra.Command{ Use: "reserved ", Short: "Start a backend for a reserved share", + Args: cobra.ExactArgs(1), } command := &shareReservedCommand{cmd: cmd} cmd.Flags().StringVar(&command.overrideEndpoint, "override-endpoint", "", "Override the stored target endpoint with a replacement")