Commit c2e69914 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

croposp [WP][DOC]: add structuring comments

parent fc80b7cb
......@@ -166,6 +166,11 @@ int main(int iargc, char* argv[])
// define commandline argument modifier keys
static const char* cmdlinekeys[]={tracekey, formatkey, labelkey, 0};
/* ====================================================================== */
/* analyze command line
* --------------------
*/
// no arguments? print usage...
if (iargc<2)
{
......@@ -199,6 +204,11 @@ int main(int iargc, char* argv[])
TFXX_assert(cmdline.extra(), "missing input file");
tfxx::cmdline::Tparsed arguments=parse_cmdline(cmdline, cmdlinekeys);
/* ====================================================================== */
/* read data, prepare labels and trim time series if requested
* -----------------------------------------------------------
*/
// read data files
if (opt.verbose)
{
......@@ -288,6 +298,8 @@ int main(int iargc, char* argv[])
TFXX_assert(collection_of_series.are_consistent(comparer),
"time series are inconsistent");
/* ====================================================================== */
} // main()
/* ----- END OF croposp.cc ----- */
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