Fix syntax error.

Running consul 1.0.0, 'consul operator raft' requires 'list-peers' rather than '-list-peers'
pull/3702/head
Ivan Smirnov 7 years ago committed by GitHub
parent 59effe8a1a
commit db1623c44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -66,7 +66,7 @@ In Consul 0.7 and later, you can use the [`consul operator`](/docs/commands/oper
command to inspect the Raft configuration: command to inspect the Raft configuration:
``` ```
$ consul operator raft -list-peers $ consul operator raft list-peers
Node ID Address State Voter Node ID Address State Voter
alice 10.0.1.8:8300 10.0.1.8:8300 follower true alice 10.0.1.8:8300 10.0.1.8:8300 follower true
bob 10.0.1.6:8300 10.0.1.6:8300 leader true bob 10.0.1.6:8300 10.0.1.6:8300 leader true

Loading…
Cancel
Save