X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/81106ca76faf22180d0cd4bc1402847378e4ff68..7ba7584af501689c899b1b311286140d88e23b25:/o815/o815.cpp diff --git a/o815/o815.cpp b/o815/o815.cpp index f92d37f..9b0fff8 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -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':