[PATCH] Filter-out irrelevant command-line options in CommonOptionsParser.

Daniel Jasper djasper at google.com
Thu Dec 12 02:00:05 PST 2013



================
Comment at: docs/LibTooling.rst:123-124
@@ -117,1 +122,4 @@
 
+  // Put all command-line options to a custom category, which will be the only
+  // one displayed.
+  cl::MyToolCategory("my-tool options");
----------------
I am not a native speaker, but I think:

  // Apply a custom category to all command-line options so that they are the only ones displayed.

Might be slightly nicer.

Same above.


http://llvm-reviews.chandlerc.com/D2379

BRANCH
  svn

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list