]> git.treefish.org Git - phys/latlib.git/commitdiff
disabled warnings for unknown command line options.
authorAlex Schmidt <alex@treefish.org>
Tue, 21 May 2013 13:20:10 +0000 (15:20 +0200)
committerAlex Schmidt <alex@treefish.org>
Tue, 21 May 2013 13:20:10 +0000 (15:20 +0200)
o815/o815.cpp

index f92d37f63cfeeb20c695927793f4863d4c1524b1..9b0fff81d3988f515a229e60c98159b7dc9b8f48 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "latlib/progress.h"
 
+extern int opterr;
+
 o815::o815(int argc, char **argv, const string& _programid) {
   long timestamp;
 
@@ -98,6 +100,8 @@ void o815::mainLoop() {
 void o815::parseArgs(int argc, char **argv) {
   int opt = 0;
   
+  opterr = 0;
+
   while( (opt = getopt(argc, argv, "L:N:S:E:o:O:c:C:w:i:j:")) != -1 )
     switch(opt) {
     case 'L':