f90 - Here's a Fortran 90 example to show how to get those strings
mentioned on the command line into your program. You'll need to process these strings and set variables accordingly
PROGRAM Argtest
IMPLICIT NONE
integer*4 nargs,i
character arg*80
nargs = iargc()
do i = 0,nargs
call getarg(i, arg)
print '(a)', arg
end do
END PROGRAM Argtest
! Put this in a file (called foo.f90 for example), compile using
! f90 -o argtest foo.f90
! then try the resulting program, providing command line arguments
! E.g.
! argtest -file data1 -rate 6
! You'll see that 'arg' holds the successive command line arguments