Correcting help messages of baymodel
This patch corrects help messages of DNS option for baymodel-create, and <baymodel> option for baymodel-show. Change-Id: I5c32c90246114645630b2570c4be0c3125ca11d8
This commit is contained in:
parent
ec4eeaae86
commit
f1d97b652a
@ -61,7 +61,7 @@ def _show_baymodel(baymodel):
|
|||||||
@utils.arg('--dns-nameserver',
|
@utils.arg('--dns-nameserver',
|
||||||
metavar='<dns-nameserver>',
|
metavar='<dns-nameserver>',
|
||||||
default='8.8.8.8',
|
default='8.8.8.8',
|
||||||
help='The DNS nameserver to use for this Bay.')
|
help='The DNS nameserver to use for this baymodel.')
|
||||||
@utils.arg('--flavor-id',
|
@utils.arg('--flavor-id',
|
||||||
metavar='<flavor-id>',
|
metavar='<flavor-id>',
|
||||||
default='m1.medium',
|
default='m1.medium',
|
||||||
@ -143,7 +143,7 @@ def do_baymodel_delete(cs, args):
|
|||||||
|
|
||||||
@utils.arg('baymodel',
|
@utils.arg('baymodel',
|
||||||
metavar='<baymodel>',
|
metavar='<baymodel>',
|
||||||
help='ID of the baymodel to show.')
|
help='ID or name of the baymodel to show.')
|
||||||
def do_baymodel_show(cs, args):
|
def do_baymodel_show(cs, args):
|
||||||
"""Show details about the given baymodel."""
|
"""Show details about the given baymodel."""
|
||||||
baymodel = cs.baymodels.get(args.baymodel)
|
baymodel = cs.baymodels.get(args.baymodel)
|
||||||
|
Loading…
Reference in New Issue
Block a user