<div dir="ltr">I had committed this with<div><br></div><div>  svn commit tools/clang-format -m "Update list of languages advertised in `clang-format -h` output."</div><div><br></div><div>and since I used "" and not '' the shell executed the `clang-format -h` bit and made the commit message look funny. Apologies.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 18, 2015 at 6:03 PM, Nico Weber via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: nico<br>
Date: Sun Oct 18 20:03:19 2015<br>
New Revision: 250671<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=250671&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=250671&view=rev</a><br>
Log:<br>
Update list of languages advertised in OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code.<br>
<br>
If no arguments are specified, it formats the code from standard input<br>
and writes the result to the standard output.<br>
If <file>s are given, it reformats the files. If -i is specified<br>
together with <file>s, the files are edited in-place. Otherwise, the<br>
result is written to the standard output.<br>
<br>
USAGE: clang-format [options] [<file> ...]<br>
<br>
OPTIONS:<br>
  -assume-filename=<string> - When reading from stdin, clang-format assumes this<br>
                              filename to look for a style config file (with<br>
                              -style=file) and to determine the language.<br>
  -cursor=<uint>            - The position of the cursor when invoking<br>
                              clang-format from an editor integration<br>
  -dump-config              - Dump configuration options to stdout and exit.<br>
                              Can be used with -style option.<br>
  -fallback-style=<string>  - The name of the predefined style used as a<br>
                              fallback in case clang-format is invoked with<br>
                              -style=file, but can not find the .clang-format<br>
                              file to use.<br>
                              Use -fallback-style=none to skip formatting.<br>
  -help                     - Display available options (-help-hidden for more)<br>
  -i                        - Inplace edit <file>s, if specified.<br>
  -length=<uint>            - Format a range of this length (in bytes).<br>
                              Multiple ranges can be formatted by specifying<br>
                              several -offset and -length pairs.<br>
                              When only a single -offset is specified without<br>
                              -length, clang-format will format up to the end<br>
                              of the file.<br>
                              Can only be used with one input file.<br>
  -lines=<string>           - <start line>:<end line> - format a range of<br>
                              lines (both 1-based).<br>
                              Multiple ranges can be formatted by specifying<br>
                              several -lines arguments.<br>
                              Can't be used with -offset and -length.<br>
                              Can only be used with one input file.<br>
  -offset=<uint>            - Format a range starting at this byte offset.<br>
                              Multiple ranges can be formatted by specifying<br>
                              several -offset and -length pairs.<br>
                              Can only be used with one input file.<br>
  -output-replacements-xml  - Output replacements as XML.<br>
  -sort-includes            - Sort touched include lines<br>
  -style=<string>           - Coding style, currently supports:<br>
                                LLVM, Google, Chromium, Mozilla, WebKit.<br>
                              Use -style=file to load style configuration from<br>
                              .clang-format file located in one of the parent<br>
                              directories of the source file (or current<br>
                              directory for stdin).<br>
                              Use -style="{key: value, ...}" to set specific<br>
                              parameters, e.g.:<br>
                                -style="{BasedOnStyle: llvm, IndentWidth: 8}"<br>
  -version                  - Display the version of this program output.<br>
<br>
Modified:<br>
    cfe/trunk/tools/clang-format/ClangFormat.cpp<br>
<br>
Modified: cfe/trunk/tools/clang-format/ClangFormat.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/ClangFormat.cpp?rev=250671&r1=250670&r2=250671&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/ClangFormat.cpp?rev=250671&r1=250670&r2=250671&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/tools/clang-format/ClangFormat.cpp (original)<br>
+++ cfe/trunk/tools/clang-format/ClangFormat.cpp Sun Oct 18 20:03:19 2015<br>
@@ -324,7 +324,7 @@ int main(int argc, const char **argv) {<br>
   cl::SetVersionPrinter(PrintVersion);<br>
   cl::ParseCommandLineOptions(<br>
       argc, argv,<br>
-      "A tool to format C/C++/Obj-C code.\n\n"<br>
+      "A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code.\n\n"<br>
       "If no arguments are specified, it formats the code from standard input\n"<br>
       "and writes the result to the standard output.\n"<br>
       "If <file>s are given, it reformats the files. If -i is specified\n"<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>