-
Notifications
You must be signed in to change notification settings - Fork 13
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
Changed alignment of options in descriptions. #21
Conversation
Hi @cage2, Thanks for the pull request! I'll look at it in the next few days! |
On Sun, Apr 19, 2020 at 09:50:16AM -0700, Thomas Schaper wrote:
Hi @cage2,
Hi!
Thanks for the pull request! I'll look at it in the next few days!
Thank you very much for your work and your quick reply! :)
Bye!
C.
|
opts::print-opts can definitely still improve libre-man#21
Thanks to @cage2 for this change, this improves the way the options are aligned when displayed using `DESCRIBE`.
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.
Thanks for the changes, I've merged it in e14c9b5 after doing some minor changes and adding some tests!
(with-output-to-string (s) | ||
(when newline | ||
(format s "~&~a" pad)) | ||
(format s "~%~a" pad)) |
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.
This used to only output a newline when the output wasn't already at a newline, however as this is an empyt stream (we just created it on line 399) this would never output a newline.
Thanks to @cage2 for this change, this improves the way the options are aligned when displayed using `DESCRIBE`.
Thanks to @cage2 for this change, this improves the way the options are aligned when displayed using `DESCRIBE`.
On Sat, May 23, 2020 at 03:08:29AM -0700, Thomas Schaper wrote:
@libre-man commented on this pull request.
Hi!
Thanks for the changes, I've merged it in e14c9b5 after doing some
minor changes and adding some tests!
Thanks to you for your review and clearing my doubts about the format
directive! :)
Bye!
C.
|
Hi!
I found the alignment of option's description a bit messed up honestly.
I tried to fix that, i tested with long meta argument or with descriptions that included newlines and seems OK to me.
The only thing i can not understand is why i had to change the directive "
&" to "%" to make things works.I am open to critics and review for this patch (i mean, more than usual!).
Bye!
C.