Skip to content

Commit

Permalink
Merge pull request redpanda-data#16444 from redpanda-data/update-prin…
Browse files Browse the repository at this point in the history
…t-schema-flag

Update descriptions for rpk flags
  • Loading branch information
twmb authored Aug 24, 2024
2 parents 8fd3d4b + 510400a commit b7bec96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/cli/cluster/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ following conditions are met:
p.InstallSASLFlags(cmd)

cmd.Flags().BoolVarP(&watch, "watch", "w", false, "Blocks and writes out all cluster health changes")
cmd.Flags().BoolVarP(&exit, "exit-when-healthy", "e", false, "Exits after cluster is back in healthy state")
cmd.Flags().BoolVarP(&exit, "exit-when-healthy", "e", false, "Exits when the cluster is back in a healthy state")
return cmd
}

Expand Down
2 changes: 1 addition & 1 deletion src/go/rpk/pkg/cli/registry/schema/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ To print the schema, use the '--print-schema' flag.
cmd.Flags().StringVar(&schemaFile, "schema", "", "Schema file to check existence of, must be .avro, .json or .proto; subject required")
cmd.Flags().StringVar(&schemaType, "type", "", fmt.Sprintf("Schema type of the file used to lookup (%v); overrides schema file extension", strings.Join(supportedTypes, ",")))
cmd.Flags().BoolVar(&deleted, "deleted", false, "If true, also return deleted schemas")
cmd.Flags().BoolVar(&printSchema, "print-schema", false, "If true, print the schema JSON")
cmd.Flags().BoolVar(&printSchema, "print-schema", false, "Prints the schema in JSON format")

cmd.RegisterFlagCompletionFunc("type", validTypes())
return cmd
Expand Down

0 comments on commit b7bec96

Please sign in to comment.