Fix syntax error.

Running consul 1.0.0, 'consul operator raft' requires 'list-peers' rather than '-list-peers'
This commit is contained in:
Ivan Smirnov 2017-11-20 20:17:20 -08:00 committed by GitHub
parent a928c88704
commit df3a548a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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:
```
$ consul operator raft -list-peers
$ consul operator raft list-peers
Node ID Address State Voter
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