Skip to content

Commit 633bf26

Browse files
committed
Update CLI command usage messages
1 parent b6316b3 commit 633bf26

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cli/cmd/predict.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func init() {
4040

4141
var predictCmd = &cobra.Command{
4242
Use: "predict API_NAME SAMPLE_FILE",
43-
Short: "make predictions",
43+
Short: "make a prediction request",
4444
Long: `This command makes a prediction request using
4545
a JSON file and displays the response.`,
4646
Args: cobra.ExactArgs(2),

cli/cmd/support.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ var supportPrompValidation = &cr.PromptValidation{
6666

6767
var supportCmd = &cobra.Command{
6868
Use: "support",
69-
Short: "request support from Cortex maintainers",
70-
Long: `This command sends a support request to Cortex maintainers.`,
69+
Short: "send a support request to Cortex maintainers",
70+
Long: `This command sends a support request to the Cortex maintainers`,
7171
Run: func(cmd *cobra.Command, args []string) {
7272
supportRequest := &SupportRequest{}
7373
err := cr.ReadPrompt(supportRequest, supportPrompValidation)

cli/cmd/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ func init() {
3333

3434
var versionCmd = &cobra.Command{
3535
Use: "version",
36-
Short: "print the version of the Cortex CLI and cluster",
37-
Long: `This command prints the version of the Cortex CLI and cluster`,
36+
Short: "print the version of the CLI and cluster",
37+
Long: `This command prints the version of the CLI and cluster`,
3838
Args: cobra.NoArgs,
3939
Run: func(cmd *cobra.Command, args []string) {
4040
httpResponse, err := HTTPGet("/info")

docs/cluster/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Flags:
185185
## support
186186

187187
```text
188-
This command sends a support request to Cortex developers.
188+
This command sends a support request to the Cortex maintainers
189189
190190
Usage:
191191
cortex support [flags]
@@ -196,7 +196,7 @@ Flags:
196196

197197
## version
198198

199-
This command prints the version of the Cortex CLI and cluster
199+
This command prints the version of the CLI and cluster
200200

201201
Usage:
202202
cortex version [flags]

0 commit comments

Comments
 (0)