X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=main.cc;h=b6775267ae727a795383aebb6a7c017576b58e2e;hb=53885334edba4b9d3c4ee6d10fbfdd7e8a30d73b;hp=8c98473645dcdfcd19636b3ff0f983b0d4785d1d;hpb=5c68b9412710739cc0562ab296a9c8af13e9e71c;p=universe.git diff --git a/main.cc b/main.cc index 8c98473..b677526 100644 --- a/main.cc +++ b/main.cc @@ -1,17 +1,6 @@ -//////////////////////////////////////////////////////////////////////////////// -// This program is free software; you can redistribute it and/or // -// modify it under the terms of the GNU General Public License // -// version 2 as published by the Free Software Foundation. // -// // -// This program is distributed in the hope that it will be useful, but // -// WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // -// General Public License for more details. // -// // -// Written and (C) by François Fleuret // -// Contact for comments & bug reports // -//////////////////////////////////////////////////////////////////////////////// +// Written and (C) by Francois Fleuret +// Contact for comments & bug reports #include #include @@ -40,7 +29,7 @@ using namespace std; ////////////////////////////////////////////////////////////////////// -void check_opt(int argc, char **argv, int n_opt, int n, char *help) { +void check_opt(int argc, char **argv, int n_opt, int n, const char *help) { if(n_opt + n >= argc) { cerr << "Missing argument for " << argv[n_opt] << "." << endl; cerr << "Expecting " << help << "." << endl;