Commit aa00e9d4 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

correction

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3013
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7a7e0389
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: gatherdiff.cc,v 1.2 2010-03-09 20:51:48 tforb Exp $
* $Id: gatherdiff.cc,v 1.3 2010-03-09 21:14:00 tforb Exp $
* \author Thomas Forbriger
* \date 15/03/2005
*
......@@ -13,13 +13,14 @@
*
* REVISIONS and CHANGES
* - 15/03/2005 V1.0 Thomas Forbriger
* - 09/03/2010 V1.1 added normalization
*
* ============================================================================
*/
#define GATHERDIFF_VERSION \
"GATHERDIFF V1.0 calculate difference between shot gathers"
"GATHERDIFF V1.1 calculate difference between shot gathers"
#define GATHERDIFF_CVSID \
"$Id: gatherdiff.cc,v 1.2 2010-03-09 20:51:48 tforb Exp $"
"$Id: gatherdiff.cc,v 1.3 2010-03-09 21:14:00 tforb Exp $"
#include <fstream>
#include <iostream>
......@@ -72,7 +73,7 @@ int main(int iargc, char* argv[])
"infile2 name of second SFF input file" "\n"
"outfile name of output file (outfile=infile1-infile2)" "\n"
"\n"
"-v be verbose"
"-v be verbose" "\n"
"-n normalize input time series to their absolute maximum" "\n"
"\n"
GATHERDIFF_CVSID
......@@ -93,13 +94,6 @@ int main(int iargc, char* argv[])
{NULL}
};
// no arguments? print usage...
if (iargc<4)
{
cerr << usage_text << endl;
exit(0);
}
// collect options from commandline
Commandline cmdline(iargc, argv, options);
......@@ -111,6 +105,13 @@ int main(int iargc, char* argv[])
exit(0);
}
// no arguments? print usage...
if (iargc<4)
{
cerr << usage_text << endl;
exit(0);
}
/*
// dummy operation: print option settings
for (int iopt=0; iopt<2; iopt++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment