Skip to content

Commit f6aa876

Browse files
committed
Improve Service Discovery flag help text
1 parent d8255ad commit f6aa876

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ecs-cli/modules/commands/compose/service/compose_service_command.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ func serviceDiscoveryFlags() []cli.Flag {
137137
return []cli.Flag{
138138
cli.BoolFlag{
139139
Name: flags.EnableServiceDiscoveryFlag,
140-
Usage: "[Service Discovery] Enable Service Discovery for your ECS Service",
140+
Usage: "[Service Discovery] Enable Service Discovery for your ECS Service.",
141141
},
142142
cli.StringFlag{
143143
Name: flags.VpcIdFlag,
144-
Usage: "[Service Discovery] The VPC that will be attached to the private DNS namespace",
144+
Usage: "[Service Discovery] The VPC that will be attached to the private DNS namespace.",
145145
},
146146
cli.StringFlag{
147147
Name: flags.PrivateDNSNamespaceNameFlag,
148-
Usage: "[Service Discovery] The name of the private DNS namespace to use with Service Discovery. The CLI creates the namespace if it doesn't already exist. For example, if the name is 'corp' than a service 'foo' will be reachable via DNS at 'foo.corp'",
148+
Usage: "[Service Discovery] The name of the private DNS namespace to use with Service Discovery. The CLI creates the namespace if it doesn't already exist. For example, if the name is 'corp' than a service 'foo' will be reachable via DNS at 'foo.corp'.",
149149
},
150150
cli.StringFlag{
151151
Name: flags.PrivateDNSNamespaceIDFlag,
@@ -157,27 +157,27 @@ func serviceDiscoveryFlags() []cli.Flag {
157157
},
158158
cli.StringFlag{
159159
Name: flags.PublicDNSNamespaceNameFlag,
160-
Usage: "[Service Discovery] The name of an existing public DNS namespace to use with Service Discovery. For example, if the name is 'corp' than a service 'foo' will be reachable via DNS at 'foo.corp'",
160+
Usage: "[Service Discovery] The name of an existing public DNS namespace to use with Service Discovery. For example, if the name is 'corp' than a service 'foo' will be reachable via DNS at 'foo.corp'.",
161161
},
162162
cli.StringFlag{
163163
Name: flags.ServiceDiscoveryContainerNameFlag,
164-
Usage: "[Service Discovery] The name of the container (service name in compose) that will use Service Discovery",
164+
Usage: "[Service Discovery] The name of the container (service name in compose) that will use Service Discovery.",
165165
},
166166
cli.StringFlag{
167167
Name: flags.ServiceDiscoveryContainerPortFlag,
168-
Usage: "[Service Discovery] The port on the container used for Service Discovery",
168+
Usage: "[Service Discovery] The port on the container used for Service Discovery.",
169169
},
170170
cli.StringFlag{
171171
Name: flags.DNSTTLFlag,
172-
Usage: "[Service Discovery] The TTL of the DNS Records used with the Route53 Service Discovery Resource",
172+
Usage: "[Service Discovery] The TTL of the DNS Records used with the Route53 Service Discovery Resource. Default value is 60 seconds.",
173173
},
174174
cli.StringFlag{
175175
Name: flags.DNSTypeFlag,
176-
Usage: "[Service Discovery] The type of the DNS Records used with the Route53 Service Discovery Resource (A or SRV). Note that SRV records require container name and container port",
176+
Usage: "[Service Discovery] The type of the DNS Records used with the Route53 Service Discovery Resource (A or SRV). Note that SRV records require container name and container port.",
177177
},
178178
cli.StringFlag{
179179
Name: flags.HealthcheckCustomConfigFailureThresholdFlag,
180-
Usage: "[Service Discovery] The number of 30-second intervals that you want service discovery service to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance",
180+
Usage: "[Service Discovery] The number of 30-second intervals that you want service discovery service to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance. Default value is 1.",
181181
},
182182
}
183183
}

0 commit comments

Comments
 (0)