6f0c66c152
The `NewNamedListOptsRef`, `NewNamedMapOpts` and related `NamedListOpts`, `NamedMapOpts`, and `NamedOption` interface were added in [moby@677a6b3], which added support for a `daemon.json` configuration file. That change required a way to correlate command-line flags with their corresponding fields in the `daemon.json` to detect conflicting options. At the time, the CLI and daemon were produced from the same code, and shared packages for command-line options, but when the CLI was moved to a separate repository, these options were inherited. [moby@677a6b3]: https://github.com/moby/moby/commit/677a6b3506107468ed8c00331991afd9176fa0b9 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>