[PATCH] "bzr help commands" spacing
Robert Collins
robertc at robertcollins.net
Thu Feb 9 23:22:39 GMT 2006
On Thu, 2006-02-09 at 12:52 -0600, Matthew D. Fuller wrote:
> The 4-character indents on "help commands" may just be the worst
> possible size.
>
> bzr add [FILE...]
> Add specified files or directories.
> bzr annotate FILENAME
> Show the origin of each line in a file.
> bzr branch FROM_LOCATION [TO_LOCATION]
> Create a new copy of a branch.
> [...]
>
> It makes the list very hard to scan by eye for particular commands,
> since the command lines up perfectly with the description line.
> Shifting to 8-characters makes it much nicer, since you can easily
> parse out the commands without having to actually _read_ the lines.
>
> bzr add [FILE...]
> Add specified files or directories.
> bzr annotate FILENAME
> Show the origin of each line in a file.
> bzr branch FROM_LOCATION [TO_LOCATION]
> Create a new copy of a branch.
> [...]
>
>
> Trivial patch attached.
+1, with ' ' * 8
For extra kudos a test case for the formatting would be nice :)
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060210/3cad5bc4/attachment.pgp
More information about the bazaar
mailing list