Whether -h or --help was given.
The caller decides what to do about it. See “The library never prints”.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cli_t), | intent(in) | :: | this |
pure function cli_help_requested(this) result(r) !! Whether `-h` or `--help` was given. !! !! The caller decides what to do about it. See "The library never !! prints". class(cli_t), intent(in) :: this logical :: r r = this%wants_help end function cli_help_requested