From aaf01f33c0955a93a85ed5eacc55cbc065a0adbc Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Wed, 20 Sep 2017 22:41:34 +0000 Subject: [PATCH] Remove references to response file argument in CommandLine.rst Summary: The documentation refers to a boolean that controls whether response files are handled, but this is incorrect. Since r165535, response files are always enabled. Reviewers: compnerd, rafael Reviewed By: compnerd Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38095 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313830 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandLine.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/CommandLine.rst b/docs/CommandLine.rst index a660949881a..5d2a39d45a1 100644 --- a/docs/CommandLine.rst +++ b/docs/CommandLine.rst @@ -1251,9 +1251,7 @@ Unices have a relatively low limit on command-line length. It is therefore customary to use the so-called 'response files' to circumvent this restriction. These files are mentioned on the command-line (using the "@file") syntax. The program reads these files and inserts the contents into argv, -thereby working around the command-line length limits. Response files are -enabled by an optional fourth argument to `cl::ParseEnvironmentOptions`_ and -`cl::ParseCommandLineOptions`_. +thereby working around the command-line length limits. Top-Level Classes and Functions ------------------------------- @@ -1324,8 +1322,7 @@ option variables once ``argc`` and ``argv`` are available. The ``cl::ParseCommandLineOptions`` function requires two parameters (``argc`` and ``argv``), but may also take an optional third parameter which holds -`additional extra text`_ to emit when the ``-help`` option is invoked, and a -fourth boolean parameter that enables `response files`_. +`additional extra text`_ to emit when the ``-help`` option is invoked. .. _cl::ParseEnvironmentOptions: @@ -1340,9 +1337,8 @@ command line option variables just like `cl::ParseCommandLineOptions`_ does. It takes four parameters: the name of the program (since ``argv`` may not be available, it can't just look in ``argv[0]``), the name of the environment -variable to examine, the optional `additional extra text`_ to emit when the -``-help`` option is invoked, and the boolean switch that controls whether -`response files`_ should be read. +variable to examine, and the optional `additional extra text`_ to emit when the +``-help`` option is invoked. ``cl::ParseEnvironmentOptions`` will break the environment variable's value up into words and then process them using `cl::ParseCommandLineOptions`_. -- 2.40.0