cli flag formatting for agent docs
This commit is contained in:
parent
0f181fd0b5
commit
e2c647f9fe
|
@ -34,7 +34,7 @@ the output of [`consul agent`](/docs/commands/agent.html) will include "Encrypte
|
|||
$ cat encrypt.json
|
||||
{"encrypt": "cg8StVXbQJ0gPvMd9o7yrg=="}
|
||||
|
||||
$ consul agent -data-dir=/tmp/consul -config-file encrypt.json
|
||||
$ consul agent -data-dir=/tmp/consul -config-file=encrypt.json
|
||||
==> WARNING: LAN keyring exists but -encrypt given, using keyring
|
||||
==> WARNING: WAN keyring exists but -encrypt given, using keyring
|
||||
==> Starting Consul agent...
|
||||
|
@ -93,4 +93,3 @@ also disallow any non-TLS connections. To force clients to use TLS,
|
|||
|
||||
TLS is used to secure the RPC calls between agents, but gossip between nodes is done over UDP
|
||||
and is secured using a symmetric key. See above for enabling gossip encryption.
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ Here is an example configuration:
|
|||
|
||||
Or, using the watch command:
|
||||
|
||||
$ consul watch -type key -key foo/bar/baz /usr/bin/my-key-handler.sh
|
||||
$ consul watch -type=key -key=foo/bar/baz /usr/bin/my-key-handler.sh
|
||||
|
||||
An example of the output of this command:
|
||||
|
||||
|
@ -123,7 +123,7 @@ Here is an example configuration:
|
|||
|
||||
Or, using the watch command:
|
||||
|
||||
$ consul watch -type keyprefix -prefix foo/ /usr/bin/my-prefix-handler.sh
|
||||
$ consul watch -type=keyprefix -prefix=foo/ /usr/bin/my-prefix-handler.sh
|
||||
|
||||
An example of the output of this command:
|
||||
|
||||
|
@ -237,7 +237,7 @@ Here is an example configuration:
|
|||
|
||||
Or, using the watch command:
|
||||
|
||||
$ consul watch -type service -service redis /usr/bin/my-service-handler.sh
|
||||
$ consul watch -type=service -service=redis /usr/bin/my-service-handler.sh
|
||||
|
||||
An example of the output of this command:
|
||||
|
||||
|
@ -328,7 +328,7 @@ Here is an example configuration:
|
|||
|
||||
Or, using the watch command:
|
||||
|
||||
$ consul watch -type event -name web-deploy /usr/bin/my-deploy-handler.sh
|
||||
$ consul watch -type=event -name=web-deploy /usr/bin/my-deploy-handler.sh
|
||||
|
||||
An example of the output of this command:
|
||||
|
||||
|
@ -350,4 +350,4 @@ An example of the output of this command:
|
|||
|
||||
To fire a new `web-deploy` event the following could be used:
|
||||
|
||||
$ consul event -name web-deploy 1609030
|
||||
$ consul event -name=web-deploy 1609030
|
||||
|
|
Loading…
Reference in New Issue