libsim  Versione6.3.0

◆ optionparser_add_count()

subroutine, public optionparser_class::optionparser_add_count ( type(optionparser), intent(inout)  this,
character(len=*), intent(in)  short_opt,
character(len=*), intent(in)  long_opt,
integer, target  dest,
integer, optional  start,
character(len=*), optional  help 
)

Add a new counter option, without optional argument.

When parsing will be performed, the provided destination will be incremented by one, starting from start, each time the requested option is encountered.

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
startinitial value for dest
helpthe help message that will be formatted and pretty-printed on screen

Definizione alla linea 1455 del file optionparser_class.F90.


Generated with Doxygen.