PlasmaFAIR/fortitude
Suggest that `iargc` and `getarg` be replaced by `command_argument_count` and `get_command_argument`
Ouverte
#267 ouverte le 9 janv. 2025
good first issuerule
Métriques du dépôt
- Stars
- (207 étoiles)
- Métriques de merge PR
- (Merge moyen 9j 9h) (21 PRs mergées en 30 j)
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.