<commit_before>﻿using NDesk.Options;
using System;

namespace MySql.N.Json
{
    public static class ExportArgumentsHelper
    {
        public static ExportArguments Parse(string[] args)
        {
            var exportArgs = new ExportArguments();
            var optionsSet = new OptionSet
            {
                { "s=|server=", (s) => exportArgs.Server = s },
                { "u=|user=", (u) => exportArgs.User = u },
                { "p=|password=", (p) => exportArgs.Password = p },
                { "t=|table=", (t) => exportArgs.Table = t },
                { "d=|database=", (d) => exportArgs.Database = d }
            };
            return exportArgs;
        }
    }
}<commit_msg>Fixed "over" clean up :)<commit_after>﻿using NDesk.Options;

namespace MySql.N.Json
{
    public static class ExportArgumentsHelper
    {
        public static ExportArguments Parse(string[] args)
        {
            var exportArgs = new ExportArguments();
            var optionsSet = new OptionSet
            {
                { "s=|server=", (s) => exportArgs.Server = s },
                { "u=|user=", (u) => exportArgs.User = u },
                { "p=|password=", (p) => exportArgs.Password = p },
                { "t=|table=", (t) => exportArgs.Table = t },
                { "d=|database=", (d) => exportArgs.Database = d }
            };
	        optionsSet.Parse(args);
            return exportArgs;
        }
    }
}
{'fraction_non_alphanumeric': 0.1469359331476323, 'fraction_numerical': 0.0, 'mean_word_length': 1.7011278195488722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7046989', 'n_tokens_mistral': 431, 'n_tokens_neox': 412, 'n_words': 93}