-Dsym val | Specify that a macro is defined to a given value. | help + man |
-Usym | Specify that a macro is undefined. | help + man |
-iDsym val | ignore C strings and comments | help + man |
-iUsym | C strings, comments, and line continuations are ignored within #ifdef and #ifndef blocks controlled by macros specified with these options. | help + man |
-fpath | file containing #define and #undef directives | help |
-b | Replace removed lines with blank lines instead of deleting them. | help + man |
-B | Compress blank lines around a deleted section. | help + man |
-c | Complement, i.e., lines that would have been removed or blanked are retained and vice versa. | help + man |
-d | Turn on printing of debugging messages. | help + man |
-e | By default, unifdef will report an error if it needs to remove a preprocessor directive that spans more than one line, for example, if it has a multi-line comment hanging off its right hand end. | help + man |
-h | Print help. | help + man |
-Ipath | Specifies to unifdefall an additional place to look for #include files. | help + man |
-K | Always treat the result of && and || operators as unknown if either operand is unknown, instead of short-circuiting when unknown operands can't affect the result. | help + man |
-k | Process #if and #elif lines with constant expressions. | help + man |
-Mext | modify in place and keep backups | help |
-m | Modify one or more input files in place. | help + man |
-n | Add #line directives to the output following any deleted lines, so that errors produced when compiling the output file correspond to line numbers in the input file. | help + man |
-opath | output file name | help |
-S | Like the -s option, but the nesting depth of each macro is also printed. | help + man |
-s | Instead of processing an input file as usual, this option causes unifdef to produce a list of macros that are used in preprocessor directive controlling expressions. | help + man |
-t | Disables parsing for C strings, comments, and line continuations, which is useful for plain text. | help + man |
-V | Print version details. | help + man |
-f defile | The file defile contains #define and #undef preprocessor directives, which have the same effect as the corresponding -D and -U command-line arguments. (in the manual page but not in --help) | man |
-M backext | Modify input files in place, and keep backups of the original files by appending the backext to the input filenames. (in the manual page but not in --help) | man |
-o outfile | Write output to the file outfile instead of the standard output when processing a single file. (in the manual page but not in --help) | man |
-x 012 | Set exit status mode to zero, one, or two. (in the manual page but not in --help) | man |