You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc'Have dots .. in the description'task:odddoputs"doing soething useful..."end
When I run rake -Tin the same directory I get this:
rake -T
rake odd # Have dots .
Notice that the description is cut off after the first dot, even though the description i not particularly long.
However, if there's no space after the two dots (desc 'Have dots ..in the description'), then the complete description is printed:
#rake -T
rake odd # Have dots ..in the description
Notes:
When using a non-breaking space (ALT-spacebar on OS X) directly after the dots, the complete description is printed as well. This can be used as a workaround.
It doesn't matter whether or not the dots appear consecutively in the description. Even with desc 'Have dots . in . the description'the text it cut off.
I consider this cutting off of text from the description a bug, since it even happens in relatively short descriptions and other non-dot descriptions of the same length are not cut off either.
Let's assume the following Rakefile:
When I run
rake -T
in the same directory I get this:rake -T rake odd # Have dots .
Notice that the description is cut off after the first dot, even though the description i not particularly long.
However, if there's no space after the two dots (
desc 'Have dots ..in the description'
), then the complete description is printed:Notes:
desc 'Have dots . in . the description'
the text it cut off.I consider this cutting off of text from the description a bug, since it even happens in relatively short descriptions and other non-dot descriptions of the same length are not cut off either.
Context:
The text was updated successfully, but these errors were encountered: