mirror of
https://github.com/fluencelabs/redis
synced 2025-05-03 14:32:14 +00:00
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:
parent
4f29e859cf
commit
ef2cb6c722
@ -50,7 +50,7 @@ def commands
|
|||||||
require "json"
|
require "json"
|
||||||
require "uri"
|
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 = Net::HTTP.new url.host, url.port
|
||||||
client.use_ssl = true
|
client.use_ssl = true
|
||||||
response = client.get url.path
|
response = client.get url.path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user