Add missing newlines to cl::extrahelp uses

llvm-svn: 331802
This commit is contained in:
Stephane Sezer 2018-05-08 19:46:29 +00:00
parent 0c5b602015
commit 9601bf5b6a
3 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ documentation <LibTooling.html>`_.
static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
// A help message for this specific tool can be added afterwards.
static cl::extrahelp MoreHelp("\nMore help text...");
static cl::extrahelp MoreHelp("\nMore help text...\n");
int main(int argc, const char **argv) {
CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);

View File

@ -130,7 +130,7 @@ version of this example tool is also checked into the clang tree at
static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
// A help message for this specific tool can be added afterwards.
static cl::extrahelp MoreHelp("\nMore help text...");
static cl::extrahelp MoreHelp("\nMore help text...\n");
int main(int argc, const char **argv) {
CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);

View File

@ -52,7 +52,7 @@ namespace tooling {
///
/// static cl::OptionCategory MyToolCategory("My tool options");
/// static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
/// static cl::extrahelp MoreHelp("\nMore help text...");
/// static cl::extrahelp MoreHelp("\nMore help text...\n");
/// static cl::opt<bool> YourOwnOption(...);
/// ...
///