cli, lib: Fix typo
This commit is contained in:
@@ -52,7 +52,7 @@ import (
|
|||||||
// particular one contains all the common flags for the `deploy` subcommand
|
// particular one contains all the common flags for the `deploy` subcommand
|
||||||
// which all frontends can use.
|
// which all frontends can use.
|
||||||
type DeployArgs struct {
|
type DeployArgs struct {
|
||||||
Seeds []string `arg:"--seeds,env:MGMT_SEEDS" help:"default etc client endpoint"`
|
Seeds []string `arg:"--seeds,env:MGMT_SEEDS" help:"default etcd client endpoints"`
|
||||||
Noop bool `arg:"--noop" help:"globally force all resources into no-op mode"`
|
Noop bool `arg:"--noop" help:"globally force all resources into no-op mode"`
|
||||||
Sema int `arg:"--sema" default:"-1" help:"globally add a semaphore to all resources with this lock count"`
|
Sema int `arg:"--sema" default:"-1" help:"globally add a semaphore to all resources with this lock count"`
|
||||||
NoGit bool `arg:"--no-git" help:"don't look at git commit id for safe deploys"`
|
NoGit bool `arg:"--no-git" help:"don't look at git commit id for safe deploys"`
|
||||||
|
|||||||
@@ -144,9 +144,9 @@ type Config struct {
|
|||||||
// this many seconds. Use 0 to disable this.
|
// this many seconds. Use 0 to disable this.
|
||||||
MaxRuntime uint `arg:"--max-runtime,env:MGMT_MAX_RUNTIME" help:"exit after a maximum of approximately this many seconds"`
|
MaxRuntime uint `arg:"--max-runtime,env:MGMT_MAX_RUNTIME" help:"exit after a maximum of approximately this many seconds"`
|
||||||
|
|
||||||
// Seeds are the list of default etc client endpoints. If empty, it will
|
// Seeds are the list of default etcd client endpoints. If empty, it
|
||||||
// startup a new server.
|
// will startup a new server.
|
||||||
Seeds []string `arg:"--seeds,env:MGMT_SEEDS" help:"default etc client endpoint"`
|
Seeds []string `arg:"--seeds,env:MGMT_SEEDS" help:"default etcd client endpoints"`
|
||||||
|
|
||||||
// ClientURLs are a list of URLs to listen on for client traffic. Ports
|
// ClientURLs are a list of URLs to listen on for client traffic. Ports
|
||||||
// 2379 and 4001 are common.
|
// 2379 and 4001 are common.
|
||||||
|
|||||||
Reference in New Issue
Block a user