docker/docker — pull request #7791 by SvenDowideit (2014-08-29 05:02:25+00:00)
Title: fs.Visit() returns nil flag

Signed-off-by: Sven Dowideit

2 bugs really - `FlagCount()` was returning the internal count - `sortFlags()` reduces it, and `sortFlags()` assumed that the incoming map was indexed by the primary name of the flag, when it can be any of the names.