campo-sirio/ef/ef0.cpp
angelo cacddb21b7 This commit was generated by cvs2svn to compensate for changes in r3807,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.65.10.50/trunk@3808 c028cbd2-c16b-5b4b-a496-9718f37d4682
1996-10-21 14:34:51 +00:00

19 lines
387 B
C++
Executable File

#include <xvt.h>
#include <checks.h>
#include "ef0.h"
#define usage "Error - usage : %s -{0|1}"
int main(int argc, char** argv)
{
const int op = argc < 2 ? 0 : atoi(argv[1]+1)+1;
int res = 1;
switch (op)
{
case 1: res = ef0100(argc,argv) ; break;
case 2: res = ef0200(argc,argv) ; break;
default: error_box(usage, argv[0]); break;
}
return res;
}