]>
cygwin.com Git - cygwin-apps/setup.git/blob - inilintmain.cc
33239fb34f98618714436afbab20161989636cdb
2 * Copyright (c) 2002, Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
16 #include "getopt++/GetOption.h"
22 static std::ostringstream error_buf
;
23 static int error_count
= 0;
26 yyerror (const std::string
& s
)
28 std::ostringstream buf
;
29 buf
<< "setup.ini line " << yylineno
<< ": ";
34 /* TODO: is return 0 correct? */
41 cout
<< "inilint checks cygwin setup.ini files and reports any errors with" << endl
;
42 cout
<< "diagnostics" << endl
;
46 main (int argc
, char **argv
)
48 if (!GetOption::GetInstance().Process (argc
,argv
,NULL
))
This page took 0.036483 seconds and 4 git commands to generate.