C# Class Tailf.CommandLineParser

Show file Open project: kerryjiang/Tailf

Public Methods

Method Description
CommandLineParser ( string cmdline ) : System
GetHelp ( ) : string
GetShortHelp ( ) : string
Parse ( ) : void

Private Methods

Method Description
AddOptions ( OptionAttribute option ) : void
CheckMandatory ( ) : void
ExtractOptions ( ) : void
ParseOption ( string option, string value ) : void

Method Details

CommandLineParser() public method

public CommandLineParser ( string cmdline ) : System
cmdline string
return System

GetHelp() public method

public GetHelp ( ) : string
return string

GetShortHelp() public method

public GetShortHelp ( ) : string
return string

Parse() public method

public Parse ( ) : void
return void