Skip to content

Commit fe29b88

Browse files
added documentation link to volume-order and increased max terminal width because 80 chars is way too smal
1 parent 8a56dcd commit fe29b88

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

SoftLayer/CLI/block/order.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
@environment.pass_env
6161
def cli(env, storage_type, size, iops, tier, os_type,
6262
location, snapshot_size, service_offering, billing):
63-
"""Order a block storage volume."""
63+
"""Order a block storage volume.
64+
65+
Valid size and iops options can be found here:
66+
https://console.bluemix.net/docs/infrastructure/BlockStorage/index.html#provisioning
67+
"""
6468
block_manager = SoftLayer.BlockStorageManager(env.client)
6569
storage_type = storage_type.lower()
6670

SoftLayer/CLI/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def get_command(self, ctx, name):
7575
use: 'slcli setup'""",
7676
cls=CommandLoader,
7777
context_settings={'help_option_names': ['-h', '--help'],
78-
'auto_envvar_prefix': 'SLCLI'})
78+
'auto_envvar_prefix': 'SLCLI',
79+
'max_content_width': 999})
7980
@click.option('--format',
8081
default=DEFAULT_FORMAT,
8182
show_default=True,

SoftLayer/CLI/file/order.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@
4949
@environment.pass_env
5050
def cli(env, storage_type, size, iops, tier,
5151
location, snapshot_size, service_offering, billing):
52-
"""Order a file storage volume."""
52+
"""Order a file storage volume.
53+
54+
Valid size and iops options can be found here:
55+
https://console.bluemix.net/docs/infrastructure/FileStorage/index.html#provisioning
56+
"""
5357
file_manager = SoftLayer.FileStorageManager(env.client)
5458
storage_type = storage_type.lower()
5559

0 commit comments

Comments
 (0)