<commit_before>package com.uniquepassive.mystery;

import com.uniquepassive.mystery.core.Mystery;
import org.apache.commons.cli.*;

import java.io.IOException;

public class Boot {

    public static void main(String[] args)
        throws ParseException, IOException {

        Configuration configuration = parseCmdArgs(args);
        if (configuration != null) {
            new Mystery().run(configuration);
        }
    }

    private static Configuration parseCmdArgs(String[] args)
            throws ParseException, IOException {

        Options options = new Options();

        options.addOption(Option
                .builder("in")
                .hasArg()
                .required()
                .argName("jars")
                .desc("input jars, separated using \',\'")
                .build());

        options.addOption(Option
                .builder("target")
                .hasArg()
                .required()
                .argName("jar/class files")
                .desc("jars/class files to obfuscate, separated using \',\' - prepend with \':\' to make an exception for a class")
                .build());

        options.addOption(Option
                .builder("out")
                .hasArg()
                .required()
                .argName("jar")
                .desc("output jar")
                .build());

        for (String arg : args) {
            if (arg.equals("-help")) {
                new HelpFormatter().printHelp("mystery", options, true);
                return null;
            }
        }

        CommandLine parse = new DefaultParser()
                .parse(options, args);

        return Configuration
                .builder()
                .inJars(parse.getOptionValue("in").split(","))
                .targets(parse.getOptionValue("target").split(","))
                .outJar(parse.getOptionValue("out"))
                .build();
    }
}<commit_msg>target -> targets in cmd arguments<commit_after>package com.uniquepassive.mystery;

import com.uniquepassive.mystery.core.Mystery;
import org.apache.commons.cli.*;

import java.io.IOException;

public class Boot {

    public static void main(String[] args)
        throws ParseException, IOException {

        Configuration configuration = parseCmdArgs(args);
        if (configuration != null) {
            new Mystery().run(configuration);
        }
    }

    private static Configuration parseCmdArgs(String[] args)
            throws ParseException, IOException {

        Options options = new Options();

        options.addOption(Option
                .builder("in")
                .hasArg()
                .required()
                .argName("jars")
                .desc("input jars, separated using \',\'")
                .build());

        options.addOption(Option
                .builder("targets")
                .hasArg()
                .required()
                .argName("jar/class files")
                .desc("jars/class files to obfuscate, separated using \',\' - prepend with \':\' to make an exception for a class")
                .build());

        options.addOption(Option
                .builder("out")
                .hasArg()
                .required()
                .argName("jar")
                .desc("output jar")
                .build());

        for (String arg : args) {
            if (arg.equals("-help")) {
                new HelpFormatter().printHelp("mystery", options, true);
                return null;
            }
        }

        CommandLine parse = new DefaultParser()
                .parse(options, args);

        return Configuration
                .builder()
                .inJars(parse.getOptionValue("in").split(","))
                .targets(parse.getOptionValue("targets").split(","))
                .outJar(parse.getOptionValue("out"))
                .build();
    }
}
{'fraction_non_alphanumeric': 0.12233359033667437, 'fraction_numerical': 0.0, 'mean_word_length': 1.5158371040723981, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7480803', 'n_tokens_mistral': 1016, 'n_tokens_neox': 932, 'n_words': 212}