Skip to content

Commit 56989b9

Browse files
committed
docs(redis): fix examples to show private-network flag in documentation
1 parent a32d236 commit 56989b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/commands/redis.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ scw redis cluster connect <cluster-id ...> [arg=value ...]
172172
| private-network | Default: `false` | Connect by the private network endpoint attached. |
173173
| cluster-id | Required | UUID of the cluster |
174174
| cli-redis | | Command line tool to use, default to redis-cli |
175+
| cli-args | | Additional arguments to pass to redis-cli |
175176
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config |
176177

177178

@@ -180,12 +181,12 @@ scw redis cluster connect <cluster-id ...> [arg=value ...]
180181

181182
Connect to a Redis cluster
182183
```
183-
scw redis cluster connect
184+
scw redis cluster connect 11111111-1111-1111-1111-111111111111
184185
```
185186

186187
Connect to a Redis cluster via private network
187188
```
188-
scw redis cluster connect
189+
scw redis cluster connect 11111111-1111-1111-1111-111111111111 private-network=true
189190
```
190191

191192

0 commit comments

Comments
 (0)