libsim  Versione6.3.0

◆ optionparser_add_l()

subroutine optionparser_class::optionparser_add_l ( type(optionparser), intent(inout)  this,
character(len=*), intent(in)  short_opt,
character(len=*), intent(in)  long_opt,
logical, target  dest,
character(len=*), optional  help 
)
private

Add a new logical option, without optional argument.

When parsing will be performed, if the requested option is encountered, the provided destination will be set to .TRUE. . The provided destination is initially set to .FALSE. . Please use the generic optionparser_add method rather than this particular method.

Parametri
[in,out]thisoptionparser object
[in]short_optthe short option (may be empty)
[in]long_optthe long option (may be empty)
destthe destination of the option parse result
helpthe help message that will be formatted and pretty-printed on screen

Definizione alla linea 1427 del file optionparser_class.F90.


Generated with Doxygen.