Function
setRequired
Sets whether or not the option is mandatory.
Sets whether or not the option defined by the parameter name (which can be either the short or the long name) is mandatory.
setRequired(option, required)
setRequired(parser, optionName [, required])
Include Headers
seqan/arg_parse.h
Parameters
option
The ArgParseOption object.
required
The new required value of the option.
The new required value of the option. Default is true.
Types: bool, bool
parser
The ArgumentParser object.
optionName
The identifier of the command line option.
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:33