@@ -102,11 +102,11 @@ class AssociateFloatingIP(QuantumCommand):
102
102
def get_parser (self , prog_name ):
103
103
parser = super (AssociateFloatingIP , self ).get_parser (prog_name )
104
104
parser .add_argument (
105
- 'floatingip_id' , metavar = 'floatingip-id ' ,
106
- help = 'IP address of the floating IP to associate' )
105
+ 'floatingip_id' , metavar = 'FLOATINGIP_ID ' ,
106
+ help = 'ID of the floating IP to associate' )
107
107
parser .add_argument (
108
- 'port_id' ,
109
- help = 'ID of the port to be associated with the floatingip' )
108
+ 'port_id' , metavar = 'PORT' ,
109
+ help = 'ID or name of the port to be associated with the floatingip' )
110
110
parser .add_argument (
111
111
'--fixed-ip-address' ,
112
112
help = ('IP address on the port (only required if port has multiple'
@@ -142,8 +142,8 @@ class DisassociateFloatingIP(QuantumCommand):
142
142
def get_parser (self , prog_name ):
143
143
parser = super (DisassociateFloatingIP , self ).get_parser (prog_name )
144
144
parser .add_argument (
145
- 'floatingip_id' , metavar = 'floatingip-id ' ,
146
- help = 'IP address of the floating IP to associate' )
145
+ 'floatingip_id' , metavar = 'FLOATINGIP_ID ' ,
146
+ help = 'ID of the floating IP to associate' )
147
147
return parser
148
148
149
149
def run (self , parsed_args ):
0 commit comments