antirez/redis-doc — pull request #171 by ei-grad (2012-11-04 18:06:46+00:00)
Title: commands.json: ZADD specification logic fix

ZADD parameters "score" and "member" are described wrong in commands.json file.

It has the 4-th ("score") and 5-th ("member") parameters defined as optional instead of to define a pair of the ["score", "member"] parameters with "multiple": true option turned on.

It looks currently like there could be specified only 1 or 2 of score-member pairs (not 3 or more pairs), and even like the second "member" element could be omited.

Though it looks equal in the resulting HTML documentation, it would be nice to have ZADD defined like other similar commands with "multiple": true.