File: convert.cc

package info (click to toggle)
libosl 0.8.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,328 kB
  • sloc: cpp: 114,345; ruby: 1,290; ansic: 915; makefile: 431; perl: 309; sh: 35
file content (14 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "openingBookConverter.h"

int main(int argc, char **argv)
{
  if (argc != 3)
    {
      fprintf(stderr, "Usage: %s old-file new-file\n", argv[0]);
      return 1;
    }
  OpeningBookConverter rw(argv[1]);
  // rw.write(argv[2]);
  rw.writeInNewEditFormat(argv[2]);
  return 0;
}