Skip to content

Commit e87b210

Browse files
allmightyspiffGitHub Enterprise
authored andcommitted
Merge pull request #784 from Ramkishor-Chaladi/issue_738
added description in sl cdn origin-list, sl cdn origin-remove, sl cdn purge
2 parents 0dbd9fa + 778b34e commit e87b210

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

plugin/commands/cdn/origin_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func NewOriginListCommand(sl *metadata.SoftlayerCommand) *OriginListCommand {
2727
cobraCmd := &cobra.Command{
2828
Use: "origin-list " + T("IDENTIFIER"),
2929
Short: T("List origin path for an existing CDN mapping."),
30-
Long: T("${COMMAND_NAME} sl cdn origin-list"),
30+
Long: T("List origin path for an existing CDN mapping.") + " " + T("${COMMAND_NAME} sl cdn origin-list"),
3131
Args: metadata.OneArgs,
3232
RunE: func(cmd *cobra.Command, args []string) error {
3333
return thisCmd.Run(args)

plugin/commands/cdn/origin_remove.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ func NewOriginRemoveCommand(sl *metadata.SoftlayerCommand) *OriginRemoveCommand
2323
cobraCmd := &cobra.Command{
2424
Use: "origin-remove " + T("IDENTIFIER") + " " + T("PATH"),
2525
Short: T("Removes an origin path for an existing CDN mapping."),
26-
Long: T(`${COMMAND_NAME} sl cdn origin-remove
26+
Long: T("Removes an origin path for an existing CDN mapping.") + " " + T(`${COMMAND_NAME} sl cdn origin-remove
2727
Example:
2828
${COMMAND_NAME} sl cdn origin-remove 123456789 "/path/*"`),
29-
Args: metadata.TwoArgs,
29+
Args: metadata.TwoArgs,
3030
RunE: func(cmd *cobra.Command, args []string) error {
3131
return thisCmd.Run(args)
3232
},

plugin/commands/cdn/purge.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ func NewPurgeCommand(sl *metadata.SoftlayerCommand) *PurgeCommand {
2424
cobraCmd := &cobra.Command{
2525
Use: "purge " + T("IDENTIFIER") + " " + T("PATH"),
2626
Short: T("Creates a purge record and also initiates the purge call."),
27-
Long: T(`${COMMAND_NAME} sl cdn purge
27+
Long: T("Creates a purge record and also initiates the purge call. For more information see the following documentation: https://cloud.ibm.com/docs/infrastructure/CDN?topic=CDN-manage-your-cdn#purging-cached-content") +
28+
" " + T(`${COMMAND_NAME} sl cdn purge
2829
Example:
2930
${COMMAND_NAME} sl cdn purge 9779455 /article/file.txt"`),
3031
Args: metadata.TwoArgs,

0 commit comments

Comments
 (0)