Refactor redis-trib.rb
This commit is contained in:
parent
3398c93043
commit
d8c7926f98
@ -1669,7 +1669,6 @@ ALLOWED_OPTIONS={
|
||||
def show_help
|
||||
puts "Usage: redis-trib <command> <options> <arguments ...>\n\n"
|
||||
COMMANDS.each{|k,v|
|
||||
o = ""
|
||||
puts " #{k.ljust(15)} #{v[2]}"
|
||||
if ALLOWED_OPTIONS[k]
|
||||
ALLOWED_OPTIONS[k].each{|optname,has_arg|
|
||||
|
Loading…
x
Reference in New Issue
Block a user