redis / redis-doc

Redis documentation source code for markdown and metadata files, conversion scripts, and so forth
Other
2.31k stars 1.72k forks source link

Redis CLI: deprecated commands in interactive mode #2317

Open ronaldosc opened 1 year ago

ronaldosc commented 1 year ago

It is needed to specify which version is it applied for each command.

enjoy-binbin commented 1 year ago

https://redis.io/commands/client-info/ we can see client info is Available since: 6.2.0, we do have a version for every command

where did you see the CONNECT command?

itamarhaber commented 1 year ago

The CONNECT command is available only in redis-cli (documented here). Although it displays the wrong error message when called w/o arguments, it is still there.

ronaldosc commented 1 year ago

image

This image above shows interaction with the command CONNECT

As we can see, it needs a help documentation, and king better ERR

version: ^7.0

enjoy-binbin commented 1 year ago

@itamarhaber i suppose we should document these commands (redis-cli only) in here?

127.0.0.1:6379> help
redis-cli 255.255.255 (git:ac312954)
To get help about Redis commands type:
      "help @<group>" to get a list of commands in <group>
      "help <command>" for help on <command>
      "help <tab>" to get a list of possible help topics
      "quit" to exit

To set redis-cli preferences:
      ":set hints" enable online hints
      ":set nohints" disable online hints
Set your preferences in ~/.redisclirc
itamarhaber commented 1 year ago

Yep - makes total sense.

ronaldosc commented 1 year ago

If the correction was implemented, you can close. But point to me the PR associated.