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
Inconsistencies in punctuation of flag description #830
Comments
@bhardesty what's your take on this issue? |
can be tackled through Charmil validator in future! Can add a rule for this. |
Thanks @ankithans :). That will be great. |
Great idea. We need to fix multiple commands that have missing descriptions etc. See #777 |
We should try to be consistent. However, some flag descriptions have multiple sentences, so they should end with a full stop. How do the "default" and "choose from" values work? I think they're generated by cobra and appended to the end of the flag description. Can you control the punctuation? Here's an example of a description with both:
I'll raise this with the rest of the docs team next time that we meet, and report back with a recommendation. |
Seems the punctuation can be controlled. |
Checked couple popular clis. Punctuations aren't used for flags for those. |
To follow up, I think we can remove the periods. There are only a couple descriptions with multiple sentences, and I think they can be revised to just be a single sentence (without a period). |
Current scenario
There are some inconsistencies regarding use of periods in flag descriptions. Some flags end with period and some don't. As suggested by @craicoverflow we shouldn't use periods as the flags provided by cobra (--default and --help) don't use them too.
Proposal
Remove full stops from description of all flags.
The text was updated successfully, but these errors were encountered: