BoolOpt

com.frugalmechanic.optparse.BoolOpt$
See theBoolOpt companion class
object BoolOpt

Companion object for creating BoolOpt's

==See com.frugalmechanic.optparse.BoolOpt for documentation and examples==

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BoolOpt.type

Members list

Concise view

Value members

Concrete methods

def apply(long: Option[String], short: Option[Char], default: Option[Boolean], desc: String, enables: => Seq[BoolOpt], disables: => Seq[BoolOpt], invalidWith: => Seq[Opt], validWith: => Seq[Opt], exclusive: Boolean): BoolOpt

Attributes

default

Default value for this option

desc

Description of the parameter (used in help message)

disables

Other flags that this option implicitly disables

enables

Other flags that this option implicitly enables

exclusive

Whether or not this option is exclusive and cannot be used with any other options (e.g. like --help where it prints the help message and exits)

invalidWith

Other options that this option is not valid with

long

Long name for this option (--long_name on the command line)

short

Short name for this option (-short_name on the command line)

validWith

Other options that are required to be set when using this options