From 6425e65d90d27203c54f0901cc7562b042586903 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 15 Jun 2017 12:09:26 -0700 Subject: [PATCH] Improve help text for --local-link-connection Import the help text for the --local-link-connection arguments Change-Id: I14160c4275aef7567bc30f80282e8d029bc99b29 --- ironicclient/osc/v1/baremetal_port.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ironicclient/osc/v1/baremetal_port.py b/ironicclient/osc/v1/baremetal_port.py index 37996bf4b..8e57465f5 100644 --- a/ironicclient/osc/v1/baremetal_port.py +++ b/ironicclient/osc/v1/baremetal_port.py @@ -63,9 +63,9 @@ class CreateBaremetalPort(command.ShowOne): metavar="", 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="", 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(