Public Member Functions | |
| subroutine | dcargsstrict0 (arg, severe) |
Definition at line 354 of file dc_args.f90.
| subroutine dc_args::strict::dcargsstrict0 | ( | type(args), intent(inout) | arg, |
| logical, intent(in), optional | severe ) |
Perform option check
Performs option validation.
Among command line argument options, if any option that is not configured by DCArgsOption subroutine exists, a warning is returned. If .true. is specified for severe, an error is returned and the program terminates. Before calling this subroutine, please call DCArgsOption, DCArgsDebug, and DCArgsHelp subroutines.
By applying this subroutine to an ARGS derived type variable, you can check whether the options given as command line arguments are correctly recognized by the program.
| [in,out] | arg | ARGS derived type variable |
| [in] | severe | If .true., return error and terminate (optional) |
Definition at line 996 of file dc_args.f90.