Describe the bug

ZPOPMIN doesnt work as advertised in the docs here with COUNT option it says syntax error

To reproduce

  1. Navigate to https://redis.io/commands/zpopmin/
  2. In the examples section type following command
  3. ZPOPMIN myzset COUNT 1

Expected behavior

Should return one minimum member as per the count option

Additional information

Alternately try the same on docker it yields the same result. so stating redis server is broken ?

Comment From: LRagji

This is not a bug cause for this command there is no "COUNT" arg required just plain number so this works, false alarm ZPOPMIN myzset COUNT 1 will not work ZPOPMIN myzset 1 will work