From 5a2253e8681e5c8037ddbb3a41cd6d7b4bb41eb0 Mon Sep 17 00:00:00 2001 From: Christian Ege Date: Thu, 25 Jul 2024 08:53:58 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=93=9D=20the=20cli=20online=20help?= =?UTF-8?q?=20for=20get/getSchema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/ovp8xx/cmd/get.go | 2 +- cmd/ovp8xx/cmd/getSchema.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ovp8xx/cmd/get.go b/cmd/ovp8xx/cmd/get.go index 93f89c0..e1ab2d5 100644 --- a/cmd/ovp8xx/cmd/get.go +++ b/cmd/ovp8xx/cmd/get.go @@ -31,7 +31,7 @@ func getCommand(cmd *cobra.Command, args []string) error { // getCmd represents the get command var getCmd = &cobra.Command{ - Use: "get ", + Use: "get [pointers...]", Short: "Retrieve the JSON configuration from the device", Long: `The OVP8xx get call accepts a list of JSON pointer like queries. Valid queries are for example: diff --git a/cmd/ovp8xx/cmd/getSchema.go b/cmd/ovp8xx/cmd/getSchema.go index f72a5cb..8abd53a 100644 --- a/cmd/ovp8xx/cmd/getSchema.go +++ b/cmd/ovp8xx/cmd/getSchema.go @@ -31,7 +31,7 @@ func getSchemaCommand(cmd *cobra.Command, args []string) error { // getCmd represents the get command var getSchemaCmd = &cobra.Command{ - Use: "getSchema [pointers]", + Use: "getSchema [pointers...]", Short: "Retrieve the currently used JSON schema from the device", Long: `The OVP8xx getSchema command accepts a list of JSON pointers. The JSON schema provides details about multiple aspects of a parameter. It