[PATCH] improve help-layout of clang-format

Bas van den Berg via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 23:49:52 PDT 2017


clang-format: improve layout of help message

Signed-off-by: Bas van den Berg <b.van.den.berg.nl at gmail.com>
---
 tools/clang-format/ClangFormat.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/clang-format/ClangFormat.cpp
b/tools/clang-format/ClangFormat.cpp
index 14bff19..6cfce07 100644
--- a/tools/clang-format/ClangFormat.cpp
+++ b/tools/clang-format/ClangFormat.cpp
@@ -98,8 +98,8 @@ static cl::opt<unsigned>

 static cl::opt<bool> SortIncludes(
     "sort-includes",
-    cl::desc("If set, overrides the include sorting behavior determined by
the "
-             "SortIncludes style flag"),
+    cl::desc("If set, overrides the include sorting behavior\n
+              determined by the SortIncludes style flag"),
     cl::cat(ClangFormatCategory));

 static cl::list<std::string> FileNames(cl::Positional, cl::desc("[<file>
...]"),
-- 
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170909/cc08f85f/attachment.html>


More information about the cfe-commits mailing list