How do I specify a clang-format file? : <p>I just built clang 5.0.0 on a Redhat 6 machine and tried to run clang-format. I'm unable to get the -style option to read in a style file. Here's an example of a set of commands that I think should work:</p>

<pre><code>./clang-format -style=llvm -dump-config &gt; .llvm-format
./clang-format -style=.llvm-format ~/myFile.cc
</code></pre>

<p>When I run this command I get the following error:</p>

<pre><code>Invalid value for -style
</code></pre>

<p>It appears to find and use .clang-format when placed in a parent directory as expect. The built-in types also work:</p>

<pre><code>./clang-format -style=Mozilla ~/myFile.cc
</code></pre>

<p>The problem, then, is that I can't specify explicitly a .clang-format file to use. Is this a problem with my build or am I misusing clang-format oir misunderstanding the documentation?</p>
