PlasmaFAIR/fortitude
View on GitHubSuggest that `iargc` and `getarg` be replaced by `command_argument_count` and `get_command_argument`
Open
#267 opened on Jan 9, 2025
good first issuerule
Repository metrics
- Stars
- (207 stars)
- PR merge metrics
- (PR metrics pending)
Description
For a code such as
PROGRAM test_getarg
implicit none
INTEGER :: i
CHARACTER(len=32) :: arg
DO i = 1, iargc()
CALL getarg(i, arg)
WRITE (*,*) arg
END DO
END PROGRAM test_getarg
from the gfortran documentation, Fortitude could suggest that iargc and getarg be replaced by command_argument_count and get_command_argument.