]> arthur.barton.de Git - bup.git/commit
options.py: remove extra newlines in usage string.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 8 Sep 2010 07:42:39 +0000 (00:42 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 8 Sep 2010 07:44:27 +0000 (00:44 -0700)
commit195925232b47e2c607b95dfaabb46f884f1a1a5e
treed02113fc43929a4c7f9881ffe7f8c119ae600cae
parentef0bbbb266c2f6f058065556b01e3ccb53c8dd44
options.py: remove extra newlines in usage string.

If the first line after the "--" was a comment (started with whitespace),
then we'd end up printing a double newline instead of a single one after the
synopsis string.

It would also look weird if we had a multi-line comment; the lines would be
separated by blank lines.

'bup damage -?' encountered this problem.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/options.py