• antirez's avatar
    COMMAND: fix argument parsing. · b2051198
    antirez authored
    This fixes detection of wrong subcommand (that resulted in the default
    all-commands output instead) and allows COMMAND INFO to be called
    without arguments (resulting into an empty array) which is useful in
    programmtically generated calls like the following (in Ruby):
    
        redis.commands("command","info",*mycommands)
    
    Note: mycommands may be empty.
    b2051198
redis.c 136 KB