X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandLine.html;h=47ab2cc074dda4aa8ab4be56e522a014a9e71460;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=74cf389894a8e00262dcf970c59cd1eac04ce3e5;hpb=00a7b52385a25ab8cd412ce4c0f0ce11176b6793;p=oota-llvm.git diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 74cf389894a..47ab2cc074d 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -44,7 +44,7 @@
  • Option Modifiers @@ -1176,13 +1175,13 @@ that does not support it.
  • Option modifiers are the flags and expressions that you pass into the constructors for cl::opt and cl::list. These modifiers give you the ability to -tweak how options are parsed and how --help output is generated to fit +tweak how options are parsed and how -help output is generated to fit your application well.

    -

    These options fall into five main catagories:

    +

    These options fall into five main categories:

      -
    1. Hiding an option from --help output
    2. +
    3. Hiding an option from -help output
    4. Controlling the number of occurrences required and allowed
    5. Controlling whether or not a value must be @@ -1191,9 +1190,9 @@ your application well.

    6. Miscellaneous option modifiers
    -

    It is not possible to specify two options from the same catagory (you'll get +

    It is not possible to specify two options from the same category (you'll get a runtime error) to a single option, except for options in the miscellaneous -catagory. The CommandLine library specifies defaults for all of these settings +category. The CommandLine library specifies defaults for all of these settings that are the most useful in practice and the most common, which mean that you usually shouldn't have to worry about these.

    @@ -1201,14 +1200,14 @@ usually shouldn't have to worry about these.

    - Hiding an option from --help output + Hiding an option from -help output

    The cl::NotHidden, cl::Hidden, and cl::ReallyHidden modifiers are used to control whether or not an option -appears in the --help and --help-hidden output for the +appears in the -help and -help-hidden output for the compiled program:

    @@ -1509,7 +1508,7 @@ 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 +-help option is invoked, and a fourth boolean parameter that enables response files.

    @@ -1536,8 +1535,8 @@ does.

    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 reponse files +-help option is invoked, and the boolean +switch that controls whether response files should be read.

    cl::ParseEnvironmentOptions will break the environment @@ -1690,7 +1689,7 @@ the conversion from string to data.

    The cl::extrahelp class is a nontemplated class that allows extra -help text to be printed out for the --help option.

    +help text to be printed out for the -help option.

     namespace cl {
    @@ -1884,7 +1883,7 @@ our example, we implement parse as:

    default: // Print an error message if unrecognized character! - return O.error(": '" + Arg + "' value invalid for file size argument!"); + return O.error("'" + Arg + "' value invalid for file size argument!"); } } } @@ -1907,7 +1906,7 @@ MFS("max-file-size", cl::desc("Maximum file si
     OPTIONS:
    -  -help                 - display available options (--help-hidden for more)
    +  -help                 - display available options (-help-hidden for more)
       ...
       -max-file-size=<size> - Maximum file size to accept