Skip to content

Commit 2d18ad7

Browse files
Ramkishor ChaladiRamkishor Chaladi
authored andcommitted
updated missing description text
1 parent 318348a commit 2d18ad7

3 files changed

Lines changed: 6 additions & 11 deletions

File tree

plugin/commands/block/subnets_assign.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ func NewSubnetsAssignCommand(sl *metadata.SoftlayerStorageCommand) *SubnetsAssig
2727
cobraCmd := &cobra.Command{
2828
Use: "subnets-assign " + T("IDENTIFIER"),
2929
Short: T("Assign block storage subnets to the given host id."),
30-
Long: T(`${COMMAND_NAME} sl {{.storageType}} subnets-assign ACCESS_ID [OPTIONS]
31-
32-
access_id is the host_id obtained by: sl block access-list <volume_id>
33-
SoftLayer_Account::iscsiisolationdisabled must be False to use this command
30+
Long: T("access_id is the host_id obtained by: sl block access-list <volume_id> SoftLayer_Account::iscsiisolationdisabled must be False to use this command") +
31+
" " + T(`${COMMAND_NAME} sl {{.storageType}} subnets-assign ACCESS_ID [OPTIONS]
3432
3533
EXAMPLE:
3634
${COMMAND_NAME} sl {{.storageType}} subnets-assign 111111 --subnet-id 222222

plugin/commands/block/subnets_list.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ func NewSubnetsListCommand(sl *metadata.SoftlayerStorageCommand) *SubnetsListCom
2626
cobraCmd := &cobra.Command{
2727
Use: "subnets-list " + T("IDENTIFIER"),
2828
Short: T("List block storage assigned subnets for the given host id."),
29-
Long: T(`${COMMAND_NAME} sl {{.storageType}} subnets-list ACCESS_ID [OPTIONS]
30-
31-
access_id is the host_id obtained by: sl block access-list <volume_id>
29+
Long: T("access_id is the host_id obtained by: sl block access-list <volume_id>") +
30+
" " + T(`${COMMAND_NAME} sl {{.storageType}} subnets-list ACCESS_ID [OPTIONS]
3231
3332
EXAMPLE:
3433
${COMMAND_NAME} sl {{.storageType}} subnets-list 12345678

plugin/commands/block/subnets_remove.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ func NewSubnetsRemoveCommand(sl *metadata.SoftlayerStorageCommand) *SubnetsRemov
2727
cobraCmd := &cobra.Command{
2828
Use: "subnets-remove " + T("IDENTIFIER"),
2929
Short: T("Remove block storage subnets to the given host id."),
30-
Long: T(`${COMMAND_NAME} sl {{.storageType}} subnets-remove ACCESS_ID [OPTIONS]
31-
32-
access_id is the host_id obtained by: sl block access-list <volume_id>
33-
SoftLayer_Account::iscsiisolationdisabled must be False to use this command
30+
Long: T("access_id is the host_id obtained by: sl block access-list <volume_id> SoftLayer_Account::iscsiisolationdisabled must be False to use this command") +
31+
" " + T(`${COMMAND_NAME} sl {{.storageType}} subnets-remove ACCESS_ID [OPTIONS]
3432
3533
EXAMPLE:
3634
${COMMAND_NAME} sl {{.storageType}} subnets-remove 111111 --subnet-id 222222

0 commit comments

Comments
 (0)