X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandLine.html;h=8c59b2b3716d5faf1532b05d4ccd327ca7b80a1d;hb=142207b9eccb247ddecab5188338193ef04e5cb7;hp=b3e9840b1fc2b2b877ba8cc5f7b6cd947c54b878;hpb=e76d4abfe2469916c6c46b1cdea33e10df599001;p=oota-llvm.git diff --git a/docs/CommandLine.html b/docs/CommandLine.html index b3e9840b1fc..8c59b2b3716 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1,133 +1,158 @@ - -CommandLine 2.0 Library Manual - - - - -
  CommandLine 2.0 Library Manual
+ + + + CommandLine 2.0 Library Manual + + + + +
+ CommandLine 2.0 Library Manual +
    -
  1. Introduction +
  2. Introduction
  3. +
  4. Quick Start Guide
      -
    1. Boolean Arguments -
    2. Argument Aliases +
    3. Boolean Arguments
    4. +
    5. Argument Aliases
    6. Selecting an alternative from a - set of possibilities -
    7. Named alternatives -
    8. Parsing a list of options -
    + set of possibilities
  5. +
  6. Named alternatives
  7. +
  8. Parsing a list of options
  9. +
  10. Adding freeform text to help output
  11. +
+
  • Reference Guide
    1. Positional Arguments -
    2. Internal vs External Storage -
    3. Option Attributes + modifier
    4. + + +
    5. Internal vs External Storage
    6. + +
    7. Option Attributes
    8. +
    9. Option Modifiers -
    10. Option Classes + specified
    11. +
    12. Controlling other formatting options
    13. +
    14. Miscellaneous option modifiers
    15. + + +
    16. Top-Level Classes and Functions +
    17. The + cl::ParseCommandLineOptions function
    18. +
    19. The + cl::ParseEnvironmentOptions function
    20. +
    21. The cl::opt class
    22. +
    23. The cl::list class
    24. +
    25. The cl::alias class
    26. + +
    27. Builtin parsers -
    + parser<float> specializations
  • + +
  • Extension Guide
      -
    1. Writing a custom parser -
    2. Exploiting external storage -
    3. Dynamically adding command line options -
    - -

    Written by Chris Lattner

    -

    +

  • Writing a custom parser
  • +
  • Exploiting external storage
  • +
  • Dynamically adding command line + options
  • + + +
    +

    Written by Chris Lattner

    +
    - -
    -Introduction -
    -Quick Start Guide -
       -Boolean Arguments -
       -Argument Aliases -
       -Selecting an alternative from a set of possibilities -
       -Named Alternatives -
       -Parsing a list of options -
    -Reference Guide -
       -Positional Arguments -


    Specifying positional options with hyphens


    The cl::ConsumeAfter modifier

       -Internal vs External Storage -
       -Option Attributes -
       -Option Modifiers -


    Hiding an option from --help output


    Controlling the number of occurances required and allowed


    Controlling whether or not a value must be specified

      + -This group of options is used to control whether or not the option allows a +
      + +

      This group of options is used to control whether or not the option allows a value to be present. In the case of the CommandLine library, a value is either specified with an equal sign (e.g. '-index-depth=17') or as a trailing -string (e.g. '-o a.out').

      +string (e.g. '-o a.out').

      -The allowed values for this option group are:

      +

      The allowed values for this option group are:

      -In general, the default values for this option group work just like you would +

      In general, the default values for this option group work just like you would want them to. As mentioned above, you can specify the cl::ValueDisallowed modifier to a boolean argument to restrict your command line parser. These options are mostly useful -when extending the library.

      - +when extending the library.

      +
      -


    Controlling other formatting options

       -Option Classes -


    The cl::opt class


    The cl::list class


    The cl::alias class

       -Builtin parsers -
    -Extension Guide -
       -Writing a custom parser -
       -Exploiting external storage -
       -Dynamically adding command line options -

    - -
    Chris Lattner
    - - -Last modified: Tue Aug 6 14:34:47 CDT 2002 - -
    - + + + +