Lines Matching refs:cmd
1422 cmd = argv[1..-1]
1423 cmd[0] = cmd[0].upcase
1427 xputs ">>> Calling #{cmd.join(" ")}"
1430 res = n.r.send(*cmd)
1478 cmd = ["migrate",target.info[:host],target.info[:port],k,0,@timeout]
1479 cmd << :copy if use_copy
1480 cmd << :replace if use_replace
1481 source.client.call(cmd)
1499 def parse_options(cmd) argument
1513 if ALLOWED_OPTIONS[cmd] == nil || ALLOWED_OPTIONS[cmd][option] == nil
1514 puts "Unknown option '#{option}' for command '#{cmd}'"
1517 if ALLOWED_OPTIONS[cmd][option] != false
1526 if ALLOWED_OPTIONS[cmd][option] == []
1539 if ALLOWED_OPTIONS[cmd]
1540 ALLOWED_OPTIONS[cmd].each {|option,val|
1543 "for subcommand '#{cmd}'"