summaryrefslogtreecommitdiffstats
path: root/clang/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
commitd83adf30c6f30013203fd471566dbf279834b8d4 (patch)
treeca418c19744a0bae9ca08d9d902c5fcb670bce7b /clang/tools/clang-format/ClangFormat.cpp
parent22479f7d9999bed7d589b319a2d24d511ededc80 (diff)
downloadbcm5719-llvm-d83adf30c6f30013203fd471566dbf279834b8d4.tar.gz
bcm5719-llvm-d83adf30c6f30013203fd471566dbf279834b8d4.zip
Whitespace changes in help messages + updated help output in .rst file.
llvm-svn: 189762
Diffstat (limited to 'clang/tools/clang-format/ClangFormat.cpp')
-rw-r--r--clang/tools/clang-format/ClangFormat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/tools/clang-format/ClangFormat.cpp b/clang/tools/clang-format/ClangFormat.cpp
index b76504db1d6..cd28c595fd8 100644
--- a/clang/tools/clang-format/ClangFormat.cpp
+++ b/clang/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)
OpenPOWER on IntegriCloud