Print a usage message and terminate with a non-zero exit status.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | msg |
subroutine usage_and_stop(msg) character(len=*), intent(in) :: msg write(error_unit,'(a)') & colorize("fpm-watch: error:", color_fg='red_intense', style='bold_on') // " " // trim(msg) write(error_unit,'(a)') "" call usage_print_only() stop 2 end subroutine usage_and_stop