scalax.io.CommandLineParser.Flag

class Flag

abstract class Flag(val shortName : Option[Char], val longName : String, val description : String)

 extends OptionSpec with Argument


Instantiate one of these for each flag-type option.


Source: commandline.scala(124)

 Constructors

def this(s : Char, l : String, d : String)
def this(l : String, d : String)
def this(shortName : Option[Char], longName : String, description : String)

 Fields

allow abstract def allow
Specifies which other options may be used in conjunction with this one [details]
This option must appear in its own allow list if it is allowed to appear more than once.
Set[OptionSpec] OptionSpec
spec def spec
The OptionSpec for this argument, or None if this is a non-option
Some[Flag]

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Any] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2005-2008. All Rights Reserved.