Procedures to parse the command line switches
Get command line options
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | switch |
Cli switch |
||
class(*), | intent(out) | :: | val |
Value of the switch |
||
logical, | intent(out), | optional | :: | found |
true if switch found |
|
class(*), | intent(in), | optional | :: | default |
Default value |