diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/redis-sha1.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/redis-sha1.rb b/utils/redis-sha1.rb index a50f5610a..24498e25a 100644 --- a/utils/redis-sha1.rb +++ b/utils/redis-sha1.rb @@ -47,5 +47,6 @@ end host = ARGV[0] || "127.0.0.1" port = ARGV[1] || "6379" -puts "Performing SHA1 of Redis server #{host} #{port}" -p "Dataset SHA1: #{redisSha1(:host => host, :port => port.to_i)}" +db = ARGV[2] || "0" +puts "Performing SHA1 of Redis server #{host} #{port} DB: #{db}" +p "Dataset SHA1: #{redisSha1(:host => host, :port => port.to_i, :db => db)}" |