Improve help text for --local-link-connection

Import the help text for the --local-link-connection arguments

Change-Id: I14160c4275aef7567bc30f80282e8d029bc99b29
This commit is contained in:
John L. Villalovos 2017-06-15 12:09:26 -07:00
parent 1d5de57087
commit 6425e65d90
1 changed files with 9 additions and 9 deletions

View File

@ -63,9 +63,9 @@ class CreateBaremetalPort(command.ShowOne):
metavar="<key=value>",
action='append',
help=_("Key/value metadata describing Local link connection "
"information. Valid keys are switch_info, switch_id, "
"port_id; switch_id and port_id are obligatory. Can be "
"specified multiple times.")
"information. Valid keys are 'switch_info', 'switch_id', "
"and 'port_id'. The keys 'switch_id' and 'port_id' are "
"required. Can be specified multiple times.")
)
parser.add_argument(
'-l',
@ -74,9 +74,9 @@ class CreateBaremetalPort(command.ShowOne):
action='append',
help=_("DEPRECATED. Please use --local-link-connection instead. "
"Key/value metadata describing Local link connection "
"information. Valid keys are switch_info, switch_id, "
"port_id; switch_id and port_id are obligatory. Can be "
"specified multiple times.")
"information. Valid keys are 'switch_info', 'switch_id', "
"and 'port_id'. The keys 'switch_id' and 'port_id' are "
"required. Can be specified multiple times.")
)
parser.add_argument(
'--pxe-enabled',
@ -264,9 +264,9 @@ class SetBaremetalPort(command.Command):
metavar="<key=value>",
action='append',
help=_("Key/value metadata describing local link connection "
"information. Valid keys are switch_info, switch_id, "
"port_id; switch_id and port_id are obligatory (repeat "
"option to specify multiple keys).")
"information. Valid keys are 'switch_info', 'switch_id', "
"and 'port_id'. The keys 'switch_id' and 'port_id' are "
"required. Can be specified multiple times.")
)
pxe_enabled_group = parser.add_mutually_exclusive_group(required=False)
pxe_enabled_group.add_argument(