[PATCH] verbose help (show plugin providing a cmd and hidden cmds)

Robert Widhopf-Fenk hack at robf.de
Fri Jun 9 05:12:03 BST 2006


On Friday, June 9, 2006 at 01:31:00, Michael Ellerman wrote:
> On 6/8/06, Robert Widhopf-Fenk <hack at robf.de> wrote:
> > Attached is a patch that adds the two new options -v and
> > --plugin to the "bzr help" command and allows for:
> >
> >     For a list of all commands from all plugins say:
> >         bzr help --plugin "*" commands
> >
> >     For a list of all commands from the plugin "bzrtools" say:
> >         bzr help --plugin bzrtools commands
> >
> >     Use -v to also list hidden commands and by which plugin a
> >     command is provided.
> 
> I'm not fussed about the --plugin feature, it's kinda cute, but I'm
> not sure it's super useful to find out which commands a plugin
> provides. 

I also know/have only one plugin were I use it: bzrtools

> 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. 

Cheers
Robert




More information about the bazaar mailing list