<commit_before>#include <QCoreApplication>
#include <QDomDocument>
#include <QStringList>
#include <QFile>
#include <QDir>
#include <iostream>
#include "protocolparser.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int Return = 1;
    bool nodoxygen = false;
    bool nomarkdown = false;
    bool nohelperfiles = false;
    QString inlinecss;

    QString docs;

    bool latexSupportOn = false;

    // The list of arguments
    QStringList arguments = a.arguments();

    if(arguments.size() <= 1)
    {
        std::cout << "Protocol generator usage:" << std::endl;
        std::cout << "ProtoGen input.xml [outputpath] [-docs docspath] [-latex] [-verbose] [-no-doxygen] [-no-markdown] [-no-helper-files]" << std::endl;
        return 0;
    }

    // We expect the input file here
    QString filename = a.arguments().at(1);

    // The output path
    QString path;

    // Skip the first argument "ProtoGen.exe"
    for(int i = 1; i < arguments.size(); i++)<commit_msg>Removed -verbose commandline switch (shouldn't have been there, oops)<commit_after>#include <QCoreApplication>
#include <QDomDocument>
#include <QStringList>
#include <QFile>
#include <QDir>
#include <iostream>
#include "protocolparser.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int Return = 1;
    bool nodoxygen = false;
    bool nomarkdown = false;
    bool nohelperfiles = false;
    QString inlinecss;

    QString docs;

    bool latexSupportOn = false;

    // The list of arguments
    QStringList arguments = a.arguments();

    if(arguments.size() <= 1)
    {
        std::cout << "Protocol generator usage:" << std::endl;
        std::cout << "ProtoGen input.xml [outputpath] [-docs docspath] [-latex] [-no-doxygen] [-no-markdown] [-no-helper-files]" << std::endl;
        return 0;
    }

    // We expect the input file here
    QString filename = a.arguments().at(1);

    // The output path
    QString path;

    // Skip the first argument "ProtoGen.exe"
    for(int i = 1; i < arguments.size(); i++)
{'fraction_non_alphanumeric': 0.1389023797960175, 'fraction_numerical': 0.0048567265662943174, 'mean_word_length': 3.0873015873015874, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2413977', 'n_tokens_mistral': 670, 'n_tokens_neox': 643, 'n_words': 194}