Update documentation.
authorMikhail Glushenkov <foldr@codedgers.com>
Sat, 11 Jul 2009 19:27:40 +0000 (19:27 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Sat, 11 Jul 2009 19:27:40 +0000 (19:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75375 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/llvmc.pod
tools/llvmc/doc/LLVMC-Reference.rst

index 86a721a6c43506e2305fb28dcf299b96991f5278..e3031e123d383b6e6b7f27f9f58d8c6630614328 100644 (file)
@@ -73,8 +73,9 @@ default behaviour.
 
 =item B<--temp-dir> I<directory>
 
-Write temporary files to the specified directory. This option overrides
-I<--save-temps>.
+Store temporary files in the given directory. This directory is deleted on exit
+unless I<--save-temps> is specified. If I<--save-temps=obj> is also specified,
+I<--temp-dir> is given the precedence.
 
 =item B<--help>
 
index a5c6fc9f0619bb8202834db9b441439a6a2b0763..3014a3afbff0f497efcd9f2166f75838aec8bdc9 100644 (file)
@@ -97,8 +97,10 @@ configuration libraries:
   the ``-o`` option. The ``--save-temps=cwd`` and ``--save-temps`` switches are
   both synonyms for the default behaviour.
 
-* ``--temp-dir`` - Write temporary files to the specified directory. This option
-  overrides ``--save-temps``.
+* ``--temp-dir DIRECTORY`` - Store temporary files in the given directory. This
+  directory is deleted on exit unless ``--save-temps`` is specified. If
+  ``--save-temps=obj`` is also specified, ``--temp-dir`` is given the
+  precedence.
 
 * ``--check-graph`` - Check the compilation for common errors like mismatched
   output/input language names, multiple default edges and cycles. Because of