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