[PATCH] show full name of plugin in help

Alexander Belchenko bialix at ukr.net
Fri Oct 20 15:28:33 BST 2006


Martin Pool пишет:
> On 19 Oct 2006, Alexander Belchenko <bialix at ukr.net> wrote:
>> I wrote my patch because I lazy man and don't want rename plugins such 
>> as bzrtools-0.11 and bzr-gtk-0.11 to something pythonic. Because it 
>> works in any case. I just don't like that help for any bzr-gtk-0.11 
>> plugin command looks like following:
>>
>> $ bzr gannotate --help
>> usage: bzr gannotate FILENAME [LINE]
>> aliases: gblame, gpraise
>>
>> (From plugin "bzr-gtk-0")
> 
>> Please take a look to 4 line of help:
>>
>> (From plugin "bzr-gtk-0")
>>
>> This is what I want to fix. But Aaron and you say that it don't need to 
>> fix because it's not broken. I give up.
> 
> I wasn't trying to beat you down, just to understand what problem was
> being solved.  I guess I didn't understand the example you showed
> before.
> 
> I do still think it may be better for plugins to use package names that
> are acceptable to Python.  But I take your point that _not_ being fussy
> about the names is one of the things that makes the current system nice,
> and so we should be cautious in requiring compliant names.
> 
> Showing only part of the package directory ('bzr-gtk-0') doesn't help
> anyone, and I am in favour of fixing that.

Well, probably my patch should wait to 0.13, because I realize that I
could make it more general and robust.

--
Alexander





More information about the bazaar mailing list