Use SINGLE_OPTION macro.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Fri, 14 Dec 2012 13:43:08 +0000 (14:43 +0100)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Thu, 20 Dec 2012 15:12:02 +0000 (16:12 +0100)
main.c

diff --git a/main.c b/main.c
index a148611..a5ece71 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1631,7 +1631,7 @@ int main(int argc, char **argv)
                                        errorf(NULL, "unknown language '%s'", opt);
                                        argument_errors = true;
                                }
-                       } else if (streq(option, "M")) {
+                       } else if (SINGLE_OPTION('M')) {
                                mode = PreprocessOnly;
                                add_flag(&cppflags_obst, "-M");
                        } else if (streq(option, "MMD") ||