# File lib/rubyipmi/freeipmi/commands/basecommand.rb, line 19
    def makecommand
      # need to format the options to freeipmi format
      args = @options.collect { |k, v|
        # must remove from command line as its handled via conf file
        next if k == 'password'
        next if k == 'username'
        if not v
          "--#{k}"
        else
          "--#{k}=#{v}"
        end
      }.join(" ")
      return "#{cmd} #{args.rstrip}"
    end