def command_search( cmdlist, cmd )
      cmdlist.each do |c|
	c.init
	return c if c.name == cmd
      end
      return nil
    end
def command_search( cmdlist, cmd )
      cmdlist.each do |c|
	c.init
	return c if c.name == cmd
      end
      return nil
    end
Search command in command list.
 Return command object if search success,
 else return nil.
 cmdlist -- array with command objects.
 cmd -- string with command name from ARGV.