<commit_before>#include "messages.h"

int main(int argc, char **argv)
{

  print_usage(*argv);
  return 0;
  
}<commit_msg>Added basic argument parsing<commit_after>#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#include "messages.h"

int main(int argc, char **argv)
{

  unsigned char flags = 0;
  char *driver = "filesystem";
  int opt, port = 8080;
  
  while((opt=getopt(argc, argv, "hp:d:"))!=-1) {
    switch(opt) {
      case 'd':
        driver = optarg;
        break;
      case 'h':
        print_usage(*argv);
        exit(0);
      case 'p':
        port = atoi(optarg);
        break;
      default:
        print_usage(*argv);
        exit(1);
    }
  }
  
  return 0;
}
{'fraction_non_alphanumeric': 0.15759312320916904, 'fraction_numerical': 0.014326647564469915, 'mean_word_length': 2.426470588235294, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '4684436', 'n_tokens_mistral': 268, 'n_tokens_neox': 256, 'n_words': 60}