X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandLine.html;h=bf80ec07d458ad575b0420acc78f2094edd35e38;hb=defb9fb4e9786443daac7e17d9d5dbe5d6f15098;hp=8cc2dc8b585f9dea85d9b856bc91be4176665b26;hpb=9d292ff37e1f92dc30aad905158ec940f036ec18;p=oota-llvm.git diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 8cc2dc8b585..bf80ec07d45 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1,94 +1,122 @@ - -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 -
    9. Adding freeform text to help output -
    + set of possibilities
  5. +
  6. Named alternatives
  7. +
  8. Parsing a list of options
  9. +
  10. Collecting options as a set of flags
  11. +
  12. Adding freeform text to help output
  13. +
+
  • 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 + specified
    10. +
    11. Controlling other formatting options
    12. +
    13. Miscellaneous option modifiers
    14. + +
    15. Top-Level Classes and Functions +
    16. The + cl::ParseCommandLineOptions function
    17. +
    18. The + cl::ParseEnvironmentOptions function
    19. +
    20. The cl::SetVersionPrinter + function
    21. +
    22. The cl::opt class
    23. +
    24. The cl::list class
    25. +
    26. The cl::bits class
    27. +
    28. The cl::alias class
    29. +
    30. The cl::extrahelp class
    31. + +
    32. 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 -
       -Adding freeform text to help output -
    -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


    Miscellaneous option modifiers

       -Top-Level Classes and Functions -


    The -cl::ParseCommandLineOptions function


    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: Fri Aug 1 16:30:11 CDT 2003 - -
    - +
    + Valid CSS! + Valid HTML 4.01! + + Chris Lattner
    + LLVM Compiler Infrastructure
    + Last modified: $Date$ +
    + + +