From 36a5d7e6b95556efb632aa478324e35600e4fd3f Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Fri, 25 Oct 2024 10:48:54 -0700 Subject: [PATCH] fix: fixes timeout flag (#3345) --- internal/support/cli/args.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/support/cli/args.go b/internal/support/cli/args.go index 870f14a5..dbbe9ada 100644 --- a/internal/support/cli/args.go +++ b/internal/support/cli/args.go @@ -26,7 +26,7 @@ type Args struct { RemoteAgent []string `arg:"env:DOZZLE_REMOTE_AGENT,--remote-agent,separate" help:"list of agents to connect remotely"` NoAnalytics bool `arg:"--no-analytics,env:DOZZLE_NO_ANALYTICS" help:"disables anonymous analytics"` Mode string `arg:"env:DOZZLE_MODE" default:"server" help:"sets the mode to run in (server, swarm)"` - TimeoutString string `arg:"env:DOZZLE_TIMEOUT" default:"3s" help:"sets the timeout for docker client"` + TimeoutString string `arg:"--timeout,env:DOZZLE_TIMEOUT" default:"3s" help:"sets the timeout for docker client"` Timeout time.Duration `arg:"-"` Healthcheck *HealthcheckCmd `arg:"subcommand:healthcheck" help:"checks if the server is running"` Generate *GenerateCmd `arg:"subcommand:generate" help:"generates a configuration file for simple auth"`