All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
opening/convert.cc
Go to the documentation of this file.
1 #include "openingBookConverter.h"
2 
3 int main(int argc, char **argv)
4 {
5  if (argc != 3)
6  {
7  fprintf(stderr, "Usage: %s old-file new-file\n", argv[0]);
8  return 1;
9  }
10  OpeningBookConverter rw(argv[1]);
11  // rw.write(argv[2]);
12  rw.writeInNewEditFormat(argv[2]);
13  return 0;
14 }