Skip to content

Commit c381b3a

Browse files
authored
docs: Update deployment create help wording (#271)
In preparations to the upcoming release, this PR updates the output of the ecctl deployment create --help command to include a link to our official documentation.
1 parent aba5448 commit c381b3a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/deployment/create_help.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ $ ecctl deployment create --request-id=GMZPMRrcMYqHdmxjIQkHbdjnhPIeBElcwrHwzVlhG
7474
// Remove temporary constants when reads for deployment templates are available on ESS
7575
createLongTemp = `Creates a deployment which is defined from a file definition using the --file=<file path> (shorthand: -f) flag.
7676
77-
//You can create a definition by using the sample JSON seen here:
78-
// https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment`
77+
You can create a definition by using the sample JSON:
78+
https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment`
7979

8080
createExampleTemp = `## To make the command wait until the resources have been created use the "--track" flag, which will output
8181
the current stage on which the deployment resources are in.

docs/ecctl_deployment_create.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Creates a deployment
88

99
Creates a deployment which is defined from a file definition using the --file=+++<file path="">+++(shorthand: -f) flag.+++</file>+++
1010

11-
//You can create a definition by using the sample JSON seen here:
12-
// https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment
11+
You can create a definition by using the sample JSON:
12+
https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment
1313

1414
----
1515
ecctl deployment create {--file | --size <int> --zones <string> | --topology-element <obj>} [flags]

docs/ecctl_deployment_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Creates a deployment
66

77
Creates a deployment which is defined from a file definition using the --file=<file path> (shorthand: -f) flag.
88

9-
//You can create a definition by using the sample JSON seen here:
10-
// https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment
9+
You can create a definition by using the sample JSON:
10+
https://elastic.co/guide/en/cloud/current/ec-api-deployment-crud.html#ec_create_a_deployment
1111

1212
```
1313
ecctl deployment create {--file | --size <int> --zones <string> | --topology-element <obj>} [flags]

0 commit comments

Comments
 (0)