• Huang Zhw's avatar
    redis-cli: fix bugs in hints of commands with subcommands. (#8914) · 8827aae8
    Huang Zhw authored
    There are two bugs in redis-cli hints:
    * The hints of commands with subcommands lack first params.
    * When search matching command of currently input, we should find the
    command with longest matching prefix. If not COMMAND INFO will always
    match COMMAND and display no hints.
    8827aae8
redis-cli.c 310 KB