• Wen Hui's avatar
    Fix command GEOHASH and GEOPOS argument doc, mark member as optional (#11417) · 7c3916ae
    Wen Hui authored
    These commands take a list of members, which can be empty (i.e. running
    the command with just a key name).
    this always results in an empty array reply, so it doesn't make much sense,
    but changing it is a breaking change.
    
    This PR fixes the documentation, making the member field as optional, just makes
    sure the command format documentation is consistent with the command behavior.
    
    The command format will be:
    
    127.0.0.1:6381> GEOPOS key [member [member ...]]
    127.0.0.1:6381> GEOHASH key [member [member ...]]
    7c3916ae
geohash.json 1.26 KB