2 parents c75a5a8 + be3d438 commit d09aec3Copy full SHA for d09aec3
1 file changed
openstackclient/network/v2/port.py
@@ -1163,10 +1163,6 @@ def get_parser(self, prog_name):
1163
"or ID) (repeat option to unset multiple security groups)"
1164
),
1165
)
1166
-
1167
- parser.add_argument(
1168
- 'port', metavar="<port>", help=_("Port to modify (name or ID)")
1169
- )
1170
parser.add_argument(
1171
'--allowed-address',
1172
metavar='ip-address=<ip-address>[,mac-address=<mac-address>]',
@@ -1209,8 +1205,12 @@ def get_parser(self, prog_name):
1209
1205
default=False,
1210
1206
help=_("Clear hints for the port."),
1211
1207
1212
1213
1208
_tag.add_tag_option_to_parser_for_unset(parser, _('port'))
+ parser.add_argument(
+ 'port',
+ metavar="<port>",
+ help=_("Port to modify (name or ID)"),
+ )
1214
1215
return parser
1216
0 commit comments