From 0b69bc043a74ed751f15591f64f0fbae38157a7d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 10 Jul 2026 09:08:59 +0000 Subject: [PATCH] Add --check-connection-interval to CLI global options RDK #6198 added a new global CLI flag --check-connection-interval that controls the robot connection health check interval. The default is 0 (disabled), which changes the previous behavior where connection checking was always on with the robot client's 10-second default. --- docs/cli/reference.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/cli/reference.md b/docs/cli/reference.md index 11c7c7861d..c0043d6913 100644 --- a/docs/cli/reference.md +++ b/docs/cli/reference.md @@ -22,6 +22,7 @@ You can pass global options after the `viam` CLI keyword with any command. | Global option | Description | | ------------- | ----------- | +| `--check-connection-interval` | For commands that connect to a machine: check the connection on this interval and close the client if a faulty connection cannot be repaired. Default: `0` (disabled). | | `--config`, `-c` | Load configuration from `FILE`. | | `--debug`, `--vvv` | Enable debug logging. Default: `false`. | | `--disable-profiles`, `--disable-profile` | Disable usage of [profiles](#profiles), falling back to default behavior. Default: `false`. |