parse_cmd_filename Subroutine

public subroutine parse_cmd_filename(fpath, use_default_fpath, fpath_default)

Parses a filepath from command line

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(out), allocatable :: fpath

Filepath parsed from command line

logical, intent(out), optional :: use_default_fpath

True if no filepath was parsed and default value will be used

character(len=*), intent(in), optional :: fpath_default

Default filepath, if not provided, fpath will be empty


Contents