|
◆ 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] | this | optionparser object |
[in] | short_opt | the short option (may be empty) |
[in] | long_opt | the long option (may be empty) |
| dest | the destination of the option parse result |
| start | initial value for dest |
| help | the help message that will be formatted and pretty-printed on screen |
Definizione alla linea 1455 del file optionparser_class.F90.
|