summaryrefslogtreecommitdiff
path: root/tools/clang-format/ClangFormat.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-09-02 15:30:26 +0000
committerAlexander Kornienko <alexfh@google.com>2013-09-02 15:30:26 +0000
commit7de13bb716a76cf4c0d6593bd06d53a480a8980e (patch)
tree7a59a9cfda659a9cfd7edde313eb1491e69c479f /tools/clang-format/ClangFormat.cpp
parent4ca401b88cd17223ece8a244fc39aab5864ff66a (diff)
downloadclang-7de13bb716a76cf4c0d6593bd06d53a480a8980e.tar.gz
clang-7de13bb716a76cf4c0d6593bd06d53a480a8980e.tar.bz2
clang-7de13bb716a76cf4c0d6593bd06d53a480a8980e.tar.xz
Whitespace changes in help messages + updated help output in .rst file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format/ClangFormat.cpp')
-rw-r--r--tools/clang-format/ClangFormat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/clang-format/ClangFormat.cpp b/tools/clang-format/ClangFormat.cpp
index b76504db1d..cd28c595fd 100644
--- a/tools/clang-format/ClangFormat.cpp
+++ b/tools/clang-format/ClangFormat.cpp
@@ -87,8 +87,8 @@ static cl::opt<bool>
cl::cat(ClangFormatCategory));
static cl::opt<unsigned>
Cursor("cursor",
- cl::desc("The position of the cursor when invoking clang-format from"
- " an editor integration"),
+ cl::desc("The position of the cursor when invoking\n"
+ "clang-format from an editor integration"),
cl::init(0), cl::cat(ClangFormatCategory));
static cl::list<std::string> FileNames(cl::Positional, cl::desc("[<file> ...]"),
@@ -310,8 +310,8 @@ int main(int argc, const char **argv) {
"A tool to format C/C++/Obj-C code.\n\n"
"If no arguments are specified, it formats the code from standard input\n"
"and writes the result to the standard output.\n"
- "If <file>s are given, it reformats the files. If -i is specified \n"
- "together with <file>s, the files are edited in-place. Otherwise, the \n"
+ "If <file>s are given, it reformats the files. If -i is specified\n"
+ "together with <file>s, the files are edited in-place. Otherwise, the\n"
"result is written to the standard output.\n");
if (Help)