This might be me misunderstanding the intent, but when adding a newline after a long option name, it's indented like this:
-p, --path SOME_LONG_TEXT_HERE
This is the path to do something to.
-n, --name NAME Your name.
which doesn't seem like the newline is helping anything since the line's the same length as if it was just:
-p, --path SOME_LONG_TEXT_HERE This is the path to do something to.
-n, --name NAME Your name.
This patch makes it left-pad the descriptions to a maximum of argument-block-width which I personally think makes a lot more sense, as that's the point when they're put on the next line.
So instead for a block width of 25 it would look like:
-p, --path SOME_LONG_TEXT_HERE
This is the path to do something to.
-n, --name NAME Your name.
Let me know what you think. I'll wait to see what you think before updating the tests.
This might be me misunderstanding the intent, but when adding a newline after a long option name, it's indented like this:
which doesn't seem like the newline is helping anything since the line's the same length as if it was just:
This patch makes it left-pad the descriptions to a maximum of
argument-block-width
which I personally think makes a lot more sense, as that's the point when they're put on the next line.So instead for a block width of 25 it would look like:
Let me know what you think. I'll wait to see what you think before updating the tests.