The left-hand column of one help line.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(entry_t), | intent(in) | :: | entry |
pure function entry_label(entry) result(label) !! The left-hand column of one help line. type(entry_t), intent(in) :: entry character(len=:), allocatable :: label if (entry%kind == KIND_POSITIONAL) then label = char(entry%name) else if (len(char(entry%short)) > 0) then label = "-"//char(entry%short)//", --"//char(entry%name) else label = " --"//char(entry%name) end if end function entry_label