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") 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