Skip to content

generated negative flag --no-xxx description are not well capitalized #636

@maximilien

Description

@maximilien

In what area(s)?

utilities

Classifications:

/kind good-first-issue
/kind cleanup

Describe the feature:

Found during PR #629. It's a nitpick issue but one that should eventually be addressed nonetheless.

When autogenerating the negative of a bool flag, e.g., --cluster-local and --no-cluster-local, the description of the positive flag is used to create the description of the negative by adding: do not ... so in this case:

do not Specify that the service be private. (--no-cluster-local will make the service publicly available (default true)

which is not correct... Same for other --no-xxx flags like --no-lock-to-digest whose positive description starts with lower case. Suggestion is to make the generated description smartly generate:

Do not specify that the service be private. (--no-cluster-local will make the service publicly available (default true)

So add Do not and correctly capitalize the start of the positive description.

cc @navidshaikh

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions