[PATCH] verbose help (show plugin providing a cmd and hidden cmds)
Martin Pool
mbp at canonical.com
Thu Jun 15 06:34:49 BST 2006
On 09/06/2006, at 2:12 PM, Robert Widhopf-Fenk wrote:
>
>> What _is_ useful is being able to see what commands are
>> from a plugin, so that when you can't understand why a command isn't
>> working it's easy to see that it's from a plugin.
>>
>> So I think it shouldn't require -v to see which plugin a command
>> comes from, that should be the default behaviour IMHO.
>
> If other vote for this I will strip down the patch to only
> listing the plugin name, but without adding new options.
I'd prefer to just have the plugin source shown for each command
every time you get its full help. Also, please see if you can add a
test for this. I suggest this approach: you should be able to use a
command from the lp_integration plugin which is in the bzr tree to
test it, and then just make sure its help includes the expected regexp.
Also it might be nice to show the plugin module's filename.
Thanks,
--
Martin
More information about the bazaar
mailing list