Descriptionflag: disallow setting flags multiple times
This is a day 1 error in the flag package: It did not check
that a flag was set at most once on the command line.
Because user-defined flags may have more general
properties, the check applies only to the standard flag
types in this package: bool, string, etc.
Fixes issue 8960.
Patch Set 1 #
Total comments: 2
Patch Set 2 : diff -r f8143b226ad458a1fb82245657d09b39f298527c https://code.google.com/p/go/ #
MessagesTotal messages: 6
|