1. 16 Jun, 2016 1 commit
    • antirez's avatar
      redis-cli: really connect to the right server. · 7c8f275a
      antirez authored
      I recently introduced populating the autocomplete help array with the
      COMMAND command if available. However this was performed before parsing
      the arguments, defaulting to instance 6379. After the connection is
      performed it remains stable.
      
      The effect is that if there is an instance running on port 6339,
      whatever port you specify is ignored and 6379 is connected to instead.
      The right port will be selected only after a reconnection.
      
      Close #3314.
      7c8f275a
  2. 21 May, 2016 1 commit
  3. 07 May, 2016 1 commit
    • antirez's avatar
      redis-cli: integrate help.h with COMMAND output. · 8eb43bf7
      antirez authored
      Use the COMMAND output to fill with partial information the built-in
      help. This makes redis-cli able to at least complete commands that are
      exported by the Redis server it is connected to, but were not available
      in the help.h file when the redis-cli binary was compiled.
      8eb43bf7
  4. 05 May, 2016 2 commits
  5. 04 May, 2016 1 commit
  6. 25 Apr, 2016 1 commit
  7. 13 Apr, 2016 2 commits
  8. 09 Feb, 2016 1 commit
    • David Cavar's avatar
      Reverse redirect address parse · c30ffaab
      David Cavar authored
      Fix issue in case the redirect address is in ipv6 format. Parse from behind to extract last part of the response which represents actual port.
      c30ffaab
  9. 13 Jan, 2016 1 commit
  10. 08 Jan, 2016 1 commit
    • antirez's avatar
      Lua debugger: support direct calls to SCRIPT DEBUG in redis-cli. · 7c1a5ff3
      antirez authored
      Previously it was possible to activate a debugging session only using
      the --ldb option in redis-cli. Now calling SCRIPT DEBUG can also
      activate the debugging mode without putting the redis-cli in a
      desynchronized state.
      
      Related to #2952.
      7c1a5ff3
  11. 28 Nov, 2015 1 commit
    • antirez's avatar
      fix sprintf and snprintf format string · 96628cc4
      antirez authored
      There are some cases of printing unsigned integer with %d conversion
      specificator and vice versa (signed integer with %u specificator).
      
      Patch by Sergey Polovko. Backported to Redis from Disque.
      96628cc4
  12. 17 Nov, 2015 17 commits
  13. 30 Sep, 2015 1 commit
    • antirez's avatar
      redis-cli pipe mode: don't stay in the write loop forever. · d1b6a17d
      antirez authored
      The code was broken and resulted in redis-cli --pipe to, most of the
      times, writing everything received in the standard input to the Redis
      connection socket without ever reading back the replies, until all the
      content to write was written.
      
      This means that Redis had to accumulate all the output in the output
      buffers of the client, consuming a lot of memory.
      
      Fixed thanks to the original report of anomalies in the behavior
      provided by Twitter user @fsaintjacques.
      d1b6a17d
  14. 07 Sep, 2015 1 commit
  15. 27 Jul, 2015 1 commit
  16. 14 Jul, 2015 2 commits
  17. 13 Feb, 2015 2 commits
    • antirez's avatar
      f638f045
    • antirez's avatar
      redis-cli --latency-dist, hopefully better palette. · 3101d2bf
      antirez authored
      Less grays: more readable palette since usually we have a non linear
      distribution of percentages and very near gray tones are hard to take
      apart. Final part of the palette is gradient from yellow to red. The red
      part is hardly reached because of usual distribution of latencies, but
      shows up mainly when latencies are very high because of the logarithmic
      scale, this is coherent to what people expect: red = bad.
      3101d2bf
  18. 11 Feb, 2015 1 commit
  19. 09 Feb, 2015 1 commit
  20. 08 Feb, 2015 1 commit
    • antirez's avatar
      redis-cli: interactive reconnection for latency modes. · ca23b2a6
      antirez authored
      --stat mode already used to reconnect automatically if the server is no
      longer available. This is useful since this is an interactive mode used
      for debugging, however the same applies to --latency and --latency-dist
      modes, so now both use the reconnecting command execution as well.
      
      The reconnection code was modified to use basic VT100 escape sequences
      in order to play better with different kinds of output on the screen
      when the reconnection happens, and to hide the reconnection attempt
      output when finally the reconnection happens.
      ca23b2a6