]> cygwin.com Git - cygwin-apps/setup.git/blob - inilintmain.cc
Add CliParseFeedback class
[cygwin-apps/setup.git] / inilintmain.cc
1 /*
2 * Copyright (c) 2002, Robert Collins.
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Robert Collins <rbtcollins@hotmail.com>
13 *
14 */
15
16 #include "getopt++/GetOption.h"
17 #include <iostream>
18
19 void
20 show_help()
21 {
22 std::cout << "inilint checks cygwin setup.ini files and reports any errors with" << std::endl;
23 std::cout << "diagnostics" << std::endl;
24 }
25
26 int
27 main (int argc, char **argv)
28 {
29 if (!GetOption::GetInstance().Process (argc,argv,NULL))
30 {
31 show_help();
32 return 1;
33 }
34 return 0;
35 }
This page took 0.034793 seconds and 5 git commands to generate.