From 0e93a16289b952e220b96b5fd74c737ee3251e5c Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Thu, 10 Nov 2016 12:05:19 -0800 Subject: [PATCH] cli: Change autolock flag description This change incorporates feedback from @thaJeztah in the PR that added the autolock flag. It changes the descriptions to be different for "swarm init" and "swarm update" so that the boolean nature so that the purpose of the flag in both contexts is clearer. Signed-off-by: Aaron Lehmann --- docs/reference/commandline/swarm_init.md | 2 +- docs/reference/commandline/swarm_update.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/swarm_init.md b/docs/reference/commandline/swarm_init.md index d2a8846f2b..3a98ee9dad 100644 --- a/docs/reference/commandline/swarm_init.md +++ b/docs/reference/commandline/swarm_init.md @@ -22,7 +22,7 @@ Initialize a swarm Options: --advertise-addr value Advertised address (format: [:port]) - --autolock Enable or disable manager autolocking (requiring an unlock key to start a stopped manager) + --autolock Enable manager autolocking (requiring an unlock key to start a stopped manager) --cert-expiry duration Validity period for node certificates (ns|us|ms|s|m|h) (default 2160h0m0s) --dispatcher-heartbeat duration Dispatcher heartbeat period (ns|us|ms|s|m|h) (default 5s) --external-ca value Specifications of one or more certificate signing endpoints diff --git a/docs/reference/commandline/swarm_update.md b/docs/reference/commandline/swarm_update.md index 78d4ba8969..84b79135a3 100644 --- a/docs/reference/commandline/swarm_update.md +++ b/docs/reference/commandline/swarm_update.md @@ -21,7 +21,7 @@ Usage: docker swarm update [OPTIONS] Update the swarm Options: - --autolock Enable or disable manager autolocking (requiring an unlock key to start a stopped manager) + --autolock Change manager autolocking setting (true|false) --cert-expiry duration Validity period for node certificates (ns|us|ms|s|m|h) (default 2160h0m0s) --dispatcher-heartbeat duration Dispatcher heartbeat period (ns|us|ms|s|m|h) (default 5s) --external-ca value Specifications of one or more certificate signing endpoints