scalax.io.CommandLineParser

class Result

[source: scalax/io/CommandLineParser.scala]

class Result(val arguments : scala.List[Argument])
extends AnyRef
Parsed representation of the command line.
Value Summary
val nonOptions : scala.List[java.lang.String]
List of non-option argument values.
Method Summary
def all (f : Flag) : Int
Returns the number of times the given flag was used.
def all [A](o : OptionType[A]) : scala.List[A]
Returns all the values supplied with this option.
def apply (f : Flag) : Boolean
Was the given flag supplied?
def apply [A](o : OptionType[A]) : scala.Option[A]
Returns the first value for the given option.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
val nonOptions : scala.List[java.lang.String]
List of non-option argument values.

Method Details
def all(f : Flag) : Int
Returns the number of times the given flag was used.

def all[A](o : OptionType[A]) : scala.List[A]
Returns all the values supplied with this option.

def apply(f : Flag) : Boolean
Was the given flag supplied?

def apply[A](o : OptionType[A]) : scala.Option[A]
Returns the first value for the given option.


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.