Fixes a typo and adds stale documentation to website.

This commit is contained in:
James Phillips 2016-08-10 15:46:28 -07:00
parent 95126e4ddf
commit 2b65e7da05
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
2 changed files with 7 additions and 4 deletions

View File

@ -37,6 +37,8 @@ Options:
-http-addr=127.0.0.1:8500 HTTP address of the Consul agent.
-datacenter="" Datacenter to query. Defaults to that of agent.
-token="" ACL token to use. Defaults to that of agent.
-stale=[true|false] Specifies if watch data is permitted to be stale.
Defaults to false.
Watch Specification:
@ -47,8 +49,6 @@ Watch Specification:
-prefix=val Specifies the key prefix to watch. Only for 'keyprefix' type.
-service=val Specifies the service to watch. Required for 'service' type,
optional for 'checks' type.
-stale=[true|false] Specefies if watch data is permitted to be stale. Defaults
false.
-state=val Specifies the states to watch. Optional for 'checks' type.
-tag=val Specifies the service tag to filter on. Optional for 'service'
type.

View File

@ -37,12 +37,15 @@ The list of available flags are:
* `-token` - ACL token to use. Defaults to that of agent.
* `-stale=[true|false]` - Specifies if watch data is permitted to be stale. Defaults
to false.
* `-key` - Key to watch. Only for `key` type.
* `-name`- Event name to watch. Only for `event` type.
* `-passingonly=[true|false]` - Should only passing entries be returned. Default false.
only for `service` type.
* `-passingonly=[true|false]` - Should only passing entries be returned. Defaults to
false and only applies for `service` type.
* `-prefix` - Key prefix to watch. Only for `keyprefix` type.