On Mon, Apr 30, 2012 at 2:19 PM, Dolph Mathews <[email protected]> wrote:
> I find this behavior really annoying... --help should be contextual
> (depending on whether a subcommand is present, and what it is).

> I hope not... +1 for argparse.

Actually, argparse is one reason for this behaviour.  It doesn't like
duplicated options in subparsers, nor subsets of names like we found
in keystone with --tenant and --tenant_id, etc.  IIRC none of the
existing clients do that, they all rely on 'help command' to get
command-specific help.

dt

-- 

Dean Troyer
[email protected]

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to