Printing first line of task's docsting by --list #105#110
Conversation
There was a problem hiding this comment.
suggest adding an lstrip() there (e.g. "... + docstring.lstrip().split('\n')[0]") to support docstrings that start on the line after the quotes.
Thanks for @rread to suggest this.
|
@rread Thanks! I fixed it just now. |
|
When a submodule has a default task, the denotation of that task causes a bug in the formatting of that output. |
|
@jthigpen Thank you. You are completely right. I will fix it as soon as I can!. It seems this bug caused by a task with some aliases, not only the case of 'default task'. |
Thanks @jthigpen for pointing it out.
|
👍 |
|
This pull-request still can be merged with master safely. |
|
Thanks a bunch! Very useful change :) Merged this in, rejiggered a bunch of it (there was existing code to handle this display format so I used that), added changelog, and seems to all work now. Just pushed. |
|
Im glad, thanks a lot. |

Supported issue #105.
I also added a test but I'm not similar with the testing tool 'spec'.
So that, please teach me about it of fix the code If you don't like the addition.