mirror of
https://github.com/pathtofile/Sealighter
synced 2026-06-08 16:41:39 +00:00
0655186b08
Initial dev push
24 lines
363 B
C++
24 lines
363 B
C++
#include <iostream>
|
|
#include "sealighter_controller.h"
|
|
#include "sealighter_errors.h"
|
|
|
|
/*
|
|
Main entrypoint
|
|
*/
|
|
int main
|
|
(
|
|
int argc,
|
|
char* argv[]
|
|
)
|
|
{
|
|
int status = 0;
|
|
if (2 != argc) {
|
|
printf("usage: %s <config_file>\n", argv[0]);
|
|
return SEALIGHTER_ERROR_NOCONFIG;
|
|
}
|
|
|
|
status = run_sealighter(argv[1]);
|
|
|
|
return status;
|
|
}
|