Commit a4df4c79 authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

accepts option -header in addition to -hdr

parent bc5b3da8
......@@ -101,6 +101,10 @@ int main(int argc, char **argv)
cptr+=4;
if(strncasecmp(cptr, "YES", 1)==0) {save_header=1; continue;}
else if(strncasecmp(cptr, "NO", 1)==0) {save_header=0; continue;}
} else if(strncasecmp(cptr, "HEADER=", 7)==0) {
cptr+=7;
if(strncasecmp(cptr, "YES", 1)==0) {save_header=1; continue;}
else if(strncasecmp(cptr, "NO", 1)==0) {save_header=0; continue;}
} else if(strncasecmp(cptr, "MIDDLE", 3)==0) {
mid_time=1; continue;
}
......
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