DiceDB / dice

DiceDB is a redis-compliant, reactive, scalable, highly-available, unified cache optimized for modern hardware.
https://dicedb.io/
Other
6.88k stars 1.1k forks source link

Inconsistent `TTL`: DOCS #1106

Closed vanshavenger closed 1 month ago

vanshavenger commented 1 month ago

Steps to reproduce

SET newkey "value" TTL newkey value

Expected output In the DOCS

(error) ERROR syntax error

Observed output in the CLI

(error) ERR wrong number of arguments for 'ttl' command

Expectations for resolution

This issue will be considered resolved when the following things are done

  1. changes in the docs to (error) ERR wrong number of arguments for 'ttl' command, to make it consistent with the DOCs.

I found this, when i was lookinf for the commands which output golang error.

apoorvyadav1111 commented 1 month ago

Hi @vanshavenger , Is this available for others to pick up? please let me know if you would like to work on this. Thanks

vanshavenger commented 1 month ago

@apoorvyadav1111 Making changes in the DOCs, You can assign it to me.

apoorvyadav1111 commented 1 month ago

Assigned 🚀