Use correct github url to find commands.json

Once this is merged:
  - merge the latest changes to commands.json in antirez/redis-doc
  - re-run: utils/generate-command-help.rb > src/help.h

Then we'll have nice and easy tab-completed help in redis-cli again.

Closes #1909
This commit is contained in:
Jan-Erik Rediger 2014-08-05 09:12:40 +02:00 committed by antirez
parent 5afe1e37c7
commit ef57f94df0

View File

@ -50,7 +50,7 @@ def commands
require "json"
require "uri"
url = URI.parse "https://raw.github.com/antirez/redis-doc/master/commands.json"
url = URI.parse "https://raw.githubusercontent.com/antirez/redis-doc/master/commands.json"
client = Net::HTTP.new url.host, url.port
client.use_ssl = true
response = client.get url.path