coan-6.0.1-x64.exe, version 6.0.1 for 64 bit Windows(built Jan 7 2015,19:10:51) and older
coan-6.0.1-x64.exe: while parsing options: progress 0x02101: Completed, exit code 0x00
Only the short form of "--undef [SYM]" is supported but available in the help.
Please make the long form working as well.
coan-6.0.1-x64.exe source -undef TST test.c
coan-6.0.1-x64.exe: while parsing options: error 0x00809: Invalid or ambiguous option: "-undef"
usage:
coan-6.0.1-x64.exe COMMAND [OPTION... [FILE...]]
1. coan-6.0.1-x64.exe { help | --help | -h }
Display this message and exit.
2. coan-6.0.1-x64.exe { version | --version | -v }
Display version information and exit.
3. coan-6.0.1-x64.exe source OPTION... [FILE...]
Simplify source FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor.
Input lines may be dropped from output. Truth functional directives may be simplified on output.
4. coan-6.0.1-x64.exe spin OPTION... [FILE...]
Like the source command, with all simplified source files output beneath a specified directory, mirroring their original structure.
5. coan-6.0.1-x64.exe symbols OPTION... [FILE...]
List preprocessor symbols from FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor.
6. coan-6.0.1-x64.exe includes OPTION... [FILE...]
List #includes fom FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor
7. coan-6.0.1-x64.exe defs OPTION... [FILE...]
List #defines and #undefs fom FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor.
8. coan-6.0.1-x64.exe pragmas OPTION... [FILE...]
List #pragmas fom FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor
9. coan-6.0.1-x64.exe lines OPTION... [FILE...]
List #lines fom FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor
10. coan-6.0.1-x64.exe directives OPTION... [FILE...]
List #-directives fom FILEs in accordance with OPTIONs, parsing in the manner of the C preprocessor. (Directives are #includes, #defines, #undefs, #pragmas,#errors, #lines).
General OPTIONS:
-fARGFILE, --file ARGFILE
Read other arguments from ARGFILE.
-R, --recurse
Recurse into directories to find input files.
-FEXT1[,EXT2...]
--filter EXT1[,EXT2...]
Process only input files that have one of the file extensions EXT1,EXT2...
-DSYM[=VAL], --define SYM[=VAL]
Assume symbol SYM to be defined [=VAL]
Assume symbol SYM to be undefined. -m, --implicit Assume that any symbol that is not --define-ed is implicitly --undef-ed.
Sorry typo.
The error is same for:
coan-6.0.1-x64.exe source --undef TST test.c
coan-6.0.1-x64.exe: while parsing options: error 0x00809: Invalid or ambiguous option: "--undef"
usage: