private Record getRecord(String arg, ArgHolder<Object> ndescHolder) {
    NameDesc ndesc;
    for (int i = 0; i < matchList.size(); i++) {
      Record rec = (Record) matchList.get(i);
      for (ndesc = rec.nameList; ndesc != null; ndesc = ndesc.next) {
        if (rec.convertCode != 'v' && ndesc.oneWord) {
          if (arg.startsWith(ndesc.name)) {
            if (ndescHolder != null) {
              ndescHolder.setValue(ndesc);
            }
            return rec;
          }
        } else {
          if (arg.equals(ndesc.name)) {
            if (ndescHolder != null) {
              ndescHolder.setValue(ndesc);
            }
            return rec;
          }
        }
      }
    }
    return null;
  }