cli: Allow multiples of these args

We forgot the flag that lets the CLI parser actually let us use
multiples.
This commit is contained in:
James Shubin
2025-06-06 23:53:42 -04:00
parent 1df28c1d00
commit 25263fe9ea
4 changed files with 10 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ type DeployArgs struct {
// setup for things to work.
SSHURL string `arg:"--ssh-url" help:"transport the etcd client connection over SSH to this server"`
Seeds []string `arg:"--seeds,env:MGMT_SEEDS" help:"default etcd client endpoints"`
Seeds []string `arg:"--seeds,separate,env:MGMT_SEEDS" help:"default etcd client endpoints"`
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"`
NoGit bool `arg:"--no-git" help:"don't look at git commit id for safe deploys"`