From 0076ee6cd5851200bf78ec084f58d2c137e4375c Mon Sep 17 00:00:00 2001 From: Comical DERSKEAL <27731088+derskeal@users.noreply.github.com> Date: Wed, 9 Oct 2019 20:40:48 +0100 Subject: [PATCH 1/2] Fix typo Signed-off-by: Derskeal <27731088+derskeal@users.noreply.github.com> --- docs/reference/commandline/network_create.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/network_create.md b/docs/reference/commandline/network_create.md index 5717231036..a67810962c 100644 --- a/docs/reference/commandline/network_create.md +++ b/docs/reference/commandline/network_create.md @@ -39,7 +39,7 @@ Options: network segment (default []) --scope value Promote a network to swarm scope (value = [ local | swarm ]) --config-only Creates a configuration only network - --config-from The name of the network from which copying the configuration + --config-from The name of the network from which to copy the configuration ``` ## Description From 167b3906fe96ae6455208adb04477b0f5d6302d0 Mon Sep 17 00:00:00 2001 From: Derskeal <27731088+derskeal@users.noreply.github.com> Date: Tue, 29 Oct 2019 12:01:30 +0100 Subject: [PATCH 2/2] Update flag doc Signed-off-by: Derskeal <27731088+derskeal@users.noreply.github.com> --- cli/command/network/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/network/create.go b/cli/command/network/create.go index bcb3729426..eb3961baf7 100644 --- a/cli/command/network/create.go +++ b/cli/command/network/create.go @@ -68,7 +68,7 @@ func newCreateCommand(dockerCli command.Cli) *cobra.Command { flags.SetAnnotation("scope", "version", []string{"1.30"}) flags.BoolVar(&options.configOnly, "config-only", false, "Create a configuration only network") flags.SetAnnotation("config-only", "version", []string{"1.30"}) - flags.StringVar(&options.configFrom, "config-from", "", "The network from which copying the configuration") + flags.StringVar(&options.configFrom, "config-from", "", "The network from which to copy the configuration") flags.SetAnnotation("config-from", "version", []string{"1.30"}) flags.StringVar(&options.ipamDriver, "ipam-driver", "default", "IP Address Management Driver")