CommandLine 2.0 Library Manual
  1. Introduction
  2. Quick Start Guide
    1. Boolean Arguments
    2. Argument Aliases
    3. Selecting an alternative from a set of possibilities
    4. Named alternatives
    5. Parsing a list of options
  3. Reference Guide
    1. Positional Arguments
    2. Internal vs External Storage
    3. Option Attributes
    4. Option Modifiers
    5. Option Classes
    6. Builtin parsers
  4. Extension Guide
    1. Writing a custom parser
    2. Exploiting external storage
    3. 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


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