Skip to content
Snippets Groups Projects
Commit 6e46aa90 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added docu for option -C/--color.

parent 046ccf65
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,8 @@ The following options are available for all operators: ...@@ -35,6 +35,8 @@ The following options are available for all operators:
\> to {\tt L}ittle or {\tt B}ig endian. \\ \> to {\tt L}ittle or {\tt B}ig endian. \\
\makebox[1.5in][l]{\hspace*{1cm}\sl -\,-cmor} \makebox[1.5in][l]{\hspace*{1cm}\sl -\,-cmor}
\> CMOR conform NetCDF output. \\ \> CMOR conform NetCDF output. \\
\makebox[1.5in][l]{\hspace*{1cm}\sl -C, -\,-color}
\> Colorized output messages. \\
\makebox[1.5in][l]{\hspace*{1cm}\sl -f $<$format$>$} \makebox[1.5in][l]{\hspace*{1cm}\sl -f $<$format$>$}
\> Set the output file format. The valid file formats are: \\ \> Set the output file format. The valid file formats are: \\
\> \parbox[r]{3in}{ \> \parbox[r]{3in}{
......
...@@ -209,6 +209,7 @@ void cdo_usage(void) ...@@ -209,6 +209,7 @@ void cdo_usage(void)
fprintf(stderr, " Set individual floating-point traps (DIVBYZERO, INEXACT, INVALID, OVERFLOW, UNDERFLOW, ALL_EXCEPT)\n"); fprintf(stderr, " Set individual floating-point traps (DIVBYZERO, INEXACT, INVALID, OVERFLOW, UNDERFLOW, ALL_EXCEPT)\n");
} }
fprintf(stderr, " --cmor CMOR conform NetCDF output\n"); fprintf(stderr, " --cmor CMOR conform NetCDF output\n");
fprintf(stderr, " -C, --color Colorized output messages\n");
fprintf(stderr, " -f, --format <format>\n"); fprintf(stderr, " -f, --format <format>\n");
fprintf(stderr, " Format of the output file. (grb/grb2/nc/nc2/nc4/nc4c/srv/ext/ieg)\n"); fprintf(stderr, " Format of the output file. (grb/grb2/nc/nc2/nc4/nc4c/srv/ext/ieg)\n");
fprintf(stderr, " -g <grid> Set default grid name or file. Available grids: \n"); fprintf(stderr, " -g <grid> Set default grid name or file. Available grids: \n");
...@@ -1094,6 +1095,7 @@ int parse_options_long(int argc, char *argv[]) ...@@ -1094,6 +1095,7 @@ int parse_options_long(int argc, char *argv[])
{ "rusage", no_argument, &CDO_Rusage, 1 }, { "rusage", no_argument, &CDO_Rusage, 1 },
{ "operators", no_argument, &lprintoperators, 1 }, { "operators", no_argument, &lprintoperators, 1 },
{ "no_warnings", no_argument, &_Verbose, 0 }, { "no_warnings", no_argument, &_Verbose, 0 },
{ "color", no_argument, NULL, 'C' },
{ "format", required_argument, NULL, 'f' }, { "format", required_argument, NULL, 'f' },
{ "help", no_argument, NULL, 'h' }, { "help", no_argument, NULL, 'h' },
{ "history", no_argument, &CDO_Append_History, 0 }, { "history", no_argument, &CDO_Append_History, 0 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment