|
subroutine 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 |
|
) |
| |
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] | 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 |
| help | the help message that will be formatted and pretty-printed on screen |
Definizione alla linea 1395 del file optionparser_class.F90.
|