X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandLine.html;h=93b5ca1c69e32bc1aaa237cb5c7f4197b19b7b7e;hb=4c8c83022b501759d8559e224c84ae2a9921ba41;hp=e34de17faa29c766917b640f2094cc6ca7b7fbd3;hpb=45982a536480efeadb70d3a67b8f9bf5b99ee849;p=oota-llvm.git diff --git a/docs/CommandLine.html b/docs/CommandLine.html index e34de17faa2..93b5ca1c69e 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -52,6 +52,7 @@ specified
... - ofstream Output(OutputFilename.c_str()); - if (Out.good()) ... + std::ofstream Output(OutputFilename.c_str()); + if (Output.good()) ... ...
Some systems, such as certain variants of Microsoft Windows and +some older 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. +
+ +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.
+--help option is invoked, and a fourth boolean parameter that enables +response files.It takes three parameters: the name of the program (since argv may +
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, and the optional +environment variable to examine, the optional additional extra text to emit when the ---help option is invoked.
+--help option is invoked, and the boolean +switch that controls whether reponse files +should be read.cl::ParseEnvironmentOptions will break the environment variable's value up into words and then process them using