[Openstack] OpenStack Client Followup
Dean Troyer
dtroyer at gmail.com
Mon Apr 30 19:27:55 UTC 2012
On Mon, Apr 30, 2012 at 2:19 PM, Dolph Mathews <dolph.mathews at gmail.com> 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
dtroyer at gmail.com
More information about the Openstack
mailing list