|
◆ optionparser_new()
type(optionparser) function, public optionparser_class::optionparser_new |
( |
character(len=*), intent(in), optional |
usage_msg, |
|
|
character(len=*), intent(in), optional |
description_msg |
|
) |
| |
Create a new instance of an optionparser object.
General usage and description messages can be optionally provided, the options will be added later.
- Parametri
-
[in] | usage_msg | short help message which describes the program usage, if not provided, a standard message will be printed |
[in] | description_msg | long help message which describes the program purpose, if not provided, nothing will be printed |
Definizione alla linea 1081 del file optionparser_class.F90.
1081 CALL getarg(i+1, optarg) 1082 IF (optarg(1:1) == '-') THEN 1091 status = max(option_found(this%options%array(j), optarg), & 1094 status = max(option_found(this%options%array(j)), &
|