|
8 | 8 |
|
9 | 9 | @click.command(cls=SoftLayer.CLI.command.SLCommand, ) |
10 | 10 | @click.argument('volume_id') |
11 | | -@click.option('--hardware-id', '-h', multiple=True, |
12 | | - help='The id of one SoftLayer_Hardware' |
13 | | - ' to revoke authorization') |
14 | | -@click.option('--virtual-id', '-v', multiple=True, |
15 | | - help='The id of one SoftLayer_Virtual_Guest' |
16 | | - ' to revoke authorization') |
| 11 | +@click.option('--hardware-id', '-d', multiple=True, |
| 12 | + help='The ID of one SoftLayer_Hardware to revoke authorization.') |
17 | 13 | @click.option('--ip-address-id', '-i', multiple=True, |
18 | | - help='The id of one SoftLayer_Network_Subnet_IpAddress' |
19 | | - ' to revoke authorization') |
| 14 | + help='The ID of one SoftLayer_Network_Subnet_IpAddress to revoke authorization.') |
20 | 15 | @click.option('--ip-address', multiple=True, |
21 | | - help='An IP address to revoke authorization') |
| 16 | + help='An IP address to revoke authorization.') |
| 17 | +@click.option('--virtual-id', '-v', multiple=True, |
| 18 | + help='The ID of one SoftLayer_Virtual_Guest to revoke authorization.') |
22 | 19 | @environment.pass_env |
23 | 20 | def cli(env, volume_id, hardware_id, virtual_id, ip_address_id, ip_address): |
24 | | - """Revokes authorization for hosts accessing a given volume""" |
| 21 | + """Revoke authorization for hosts that are accessing a specific volume.""" |
25 | 22 | block_manager = SoftLayer.BlockStorageManager(env.client) |
26 | 23 | ip_address_id_list = list(ip_address_id) |
27 | 24 |
|
|
0 commit comments