mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
When the value for a configuration option in the file is `false`, and the default value for a flag is `true`, we should not take the value from the later as final value for the option, because the user explicitly set `false`. This change overrides the default value in the flagSet with the value in the configuration file so we get the correct result when we merge the two configurations together. Signed-off-by: David Calavera <david.calavera@gmail.com>
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.