Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes in command descriptions #1660

Merged
merged 1 commit into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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