trivial: Place positional opts last

Change-Id: I5479e71223c8c224e0bba387348e740c997cc7bf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2023-12-14 12:31:26 +00:00
parent 1b6b639c9f
commit be3d438ed2

View File

@@ -1163,10 +1163,6 @@ class UnsetPort(common.NeutronUnsetCommandWithExtraArgs):
"or ID) (repeat option to unset multiple security groups)" "or ID) (repeat option to unset multiple security groups)"
), ),
) )
parser.add_argument(
'port', metavar="<port>", help=_("Port to modify (name or ID)")
)
parser.add_argument( parser.add_argument(
'--allowed-address', '--allowed-address',
metavar='ip-address=<ip-address>[,mac-address=<mac-address>]', metavar='ip-address=<ip-address>[,mac-address=<mac-address>]',
@@ -1209,8 +1205,12 @@ class UnsetPort(common.NeutronUnsetCommandWithExtraArgs):
default=False, default=False,
help=_("Clear hints for the port."), help=_("Clear hints for the port."),
) )
_tag.add_tag_option_to_parser_for_unset(parser, _('port')) _tag.add_tag_option_to_parser_for_unset(parser, _('port'))
parser.add_argument(
'port',
metavar="<port>",
help=_("Port to modify (name or ID)"),
)
return parser return parser