-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Consistent formatting of flags with args #10022
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
Conversation
levitte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These nits are repeated in quite a few places. Can you find them on your own or do you need someone to point each one out?
doc/man1/openssl-asn1parse.pod
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, should be [B<-inform> B<DER>|B<PEM>]
Why bold? Because they are actual keywords
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, they are now I<DER>|I<PEM> throughout.
|
Fixes #9987 |
|
I dislike the |
|
All other issues fixed. |
levitte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's more of the same kind, but the mobile I do this from is so slow...
|
As for the
This indicates that decisions are made, not so much because of style, and more on the grounds of technical limitations in (in other words, fix the script first) |
I'm kinda done with this PR. |
|
Feedback addressed, or I disagreed, or I'm just plain done. :) |
|
This PR has 1400 changes over 54 files. There are currently seven commits, but I am sure that I have squashed/rebased multiple times. I think this is a huge improvement over what we currently have. It's not perfect, more could be done, but isn't that always the case? |
|
I also removed the "Fixes" text from the commits since the scope of this has changed and it no longer fixes everything that people (well at least me and @levitte:) think should be done to address that issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not happy approving this as it is, but that's what it takes to get the generally good bits in (because they are, and that's the grand majority of this PR), then so be it. Expect follow-up PRs
|
Commit pushed to address @t8m's feedback. Again, please squash this when merging. |
For documentation of all commands with "-flag arg" format them consistently: "B<-flag> I<arg>" Update find-doc-nits to complain if badly formatted strings are found.
Rewrite them as I<DER>|I<PEM> I<nm>:I<v> Fix nested formatting inside B<> and I<> Update find-doc-utils to find instances of it.
Also fix typo's.
t8m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is in pretty good shape now. Thank you Rich for this tedious work.
@levitte will you reapprove and commit?
|
Sure |
For documentation of all commands with "-flag arg" format them consistently: "B<-flag> I<arg>", except when arg is literal (for example "B<-inform> B<PEM>|B<DER>") Update find-doc-nits to complain if badly formatted strings are found. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from #10022)
|
Merged. e876971 Consistent formatting of flags with args |
|
Thanks everyone, particularly @levitte, for all the detail work on reviews. |
For documentation of all commands with "-flag arg" format them
consistently: "B<-flag> I<arg>"
Update find-doc-nits to complain if badly formatted strings are found.