about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--lib/Support/ErrorHandling.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Support/ErrorHandling.cpp b/lib/Support/ErrorHandling.cpp
index 00647701..d1dd6a15 100644
--- a/lib/Support/ErrorHandling.cpp
+++ b/lib/Support/ErrorHandling.cpp
@@ -32,11 +32,13 @@ static const char *errorPrefix = "ERROR";
 static const char *notePrefix = "NOTE";
 
 namespace {
+cl::OptionCategory MiscCat("Miscellaneous options", "");
 cl::opt<bool> WarningsOnlyToFile(
     "warnings-only-to-file", cl::init(false),
     cl::desc("All warnings will be written to warnings.txt only.  If disabled, "
-             "they are also written on screen."));
-}
+             "they are also written on screen."),
+    cl::cat(MiscCat));
+} // namespace
 
 static bool shouldSetColor(const char *pfx, const char *msg,
                            const char *prefixToSearchFor) {