print_usage Subroutine

private subroutine print_usage(self, pref)

Print correct usage.

Type Bound

command_line_interface

Arguments

Type IntentOptional Attributes Name
class(command_line_interface), intent(in) :: self

CLI data.

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

Prefixing string.


Calls

proc~~print_usage~~CallsGraph proc~print_usage flap_command_line_interface_t::command_line_interface%print_usage proc~usage~3 flap_command_line_interface_t::command_line_interface%usage proc~print_usage->proc~usage~3 proc~signature~3 flap_command_line_interface_t::command_line_interface%signature proc~usage~3->proc~signature~3 proc~usage flap_command_line_arguments_group_t::command_line_arguments_group%usage proc~usage~3->proc~usage proc~signature flap_command_line_arguments_group_t::command_line_arguments_group%signature proc~signature~3->proc~signature proc~usage->proc~signature proc~usage~2 flap_command_line_argument_t::command_line_argument%usage proc~usage->proc~usage~2 proc~signature~2 flap_command_line_argument_t::command_line_argument%signature proc~signature->proc~signature~2 cton cton proc~usage~2->cton interface~colorize face::colorize proc~usage~2->interface~colorize proc~replace_all flap_utils_m::replace_all proc~usage~2->proc~replace_all str str proc~usage~2->str proc~colorize_default face::colorize_default interface~colorize->proc~colorize_default proc~replace flap_utils_m::replace proc~replace_all->proc~replace proc~wstrip flap_utils_m::wstrip proc~replace_all->proc~wstrip proc~signature~2->cton proc~signature~2->str proc~has_choices flap_command_line_argument_t::command_line_argument%has_choices proc~signature~2->proc~has_choices proc~color_index face::color_index proc~colorize_default->proc~color_index proc~style_index face::style_index proc~colorize_default->proc~style_index proc~upper face::upper proc~colorize_default->proc~upper

Source Code

  subroutine print_usage(self, pref)
  !< Print correct usage.
  class(command_line_interface), intent(in) :: self  !< CLI data.
  character(*), optional,        intent(in) :: pref  !< Prefixing string.

  write(self%usage_lun, '(A)') self%usage(pref=pref, g=0)
  endsubroutine print_usage