Commit 6b8b0f30 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added -A option to getopt string

parent 51d819b7
......@@ -251,6 +251,7 @@ cdo_usage()
fprintf(stderr, " Options:\n");
set_text_color(stderr, BLUE);
fprintf(stderr, " -a Generate an absolute time axis\n");
fprintf(stderr, " -A Dry run that shows processed cdo call\n");
fprintf(stderr, " --attribs [arbitrary/filesOnly/onlyFirst/noOutput/obase]\n");
fprintf(stderr, " -b <nbits> Set the number of bits for the output precision\n");
fprintf(stderr, " (I8/I16/I32/F32/F64 for nc1/nc2/nc4/nc4c/nc5; U8/U16/U32 for nc4/nc4c/nc5;"
......@@ -1097,7 +1098,7 @@ parseOptionsLong(int argc, char *argv[])
luse_fftw = 0;
luse_time_bounds = 0;
int c = cdo_getopt_long(argc, argv, "f:b:e:P:g:i:k:l:m:n:t:D:z:aC:cdhLMOpQRrsSTuVvWwXZ", opt_long, nullptr);
int c = cdo_getopt_long(argc, argv, "f:b:e:P:g:i:k:l:m:n:t:D:z:aC:AcdhLMOpQRrsSTuVvWwXZ", opt_long, nullptr);
if (c == -1) break;
switch (c)
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