Skip to content

Commit

Permalink
Small fixes in command descriptions (#1660)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
  • Loading branch information
ANeumann82 committed Aug 26, 2020
1 parent cd6cdf7 commit 89df414
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/package_verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func newPackageVerifyCmd(fs afero.Fs, out io.Writer) *cobra.Command {

cmd := &cobra.Command{
Use: "verify [package]",
Short: "verify package parameters",
Short: "verify KUDO package",
Example: " kubectl kudo package verify ../zk/operator",
RunE: func(cmd *cobra.Command, args []string) error {
if err := validateOperatorArg(args); err != nil {
Expand Down
4 changes: 2 additions & 2 deletions pkg/kudoctl/cmd/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

const (
planHistoryExample = ` # View plan history
kubectl kudo plan history <operatorVersion> --instance=<instanceName>
kubectl kudo plan history --instance=<instanceName>
`
planStatusExample = ` # View plan status
kubectl kudo plan status --instance=<instanceName>
Expand Down Expand Up @@ -42,7 +42,7 @@ func NewPlanHistoryCmd() *cobra.Command {
options := plan.DefaultHistoryOptions
cmd := &cobra.Command{
Use: "history",
Short: "Lists history to a specific operator-version of an instance.",
Short: "Lists history for each plan of an instance.",
Example: planHistoryExample,
RunE: func(cmd *cobra.Command, args []string) error {
return plan.RunHistory(cmd, options, &Settings)
Expand Down
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

var (
updateDesc = `Update KUDO operator instance with new arguments. The update does not accept any arguments.
updateDesc = `Update KUDO operator instance with new parameters. The update of parameters can trigger the execution of specific plans.
`
updateExample = ` # Update dev-flink instance with setting parameter param with value value
kubectl kudo update --instance dev-flink -p param=value
Expand Down

0 comments on commit 89df414

Please sign in to comment.