# File lib/rubyipmi/ipmitool/commands/basecommand.rb, line 14 def makecommand args = "" # need to format the options to ipmitool format @options.each do |k,v| next if k == "cmdargs" args << "-#{k} #{v} " end # must remove from command line as its handled via conf file args.delete("-P") # since ipmitool requires commands to be in specific order args << " " + options["cmdargs"] return "#{cmd} #{args}" end