szaghi / FLAP

Fortran command Line Arguments Parser for poor people
150 stars 34 forks source link

Argument 'exclude' to support multiple switch names #101

Open GHNewbiee opened 1 year ago

GHNewbiee commented 1 year ago

As an enhancement. Tia

GHNewbiee commented 1 year ago

Extra dummy arguments might help:

integer(I4P), optional, intent(in) :: index          !< Index of CLAs.
character(*), optional, intent(in) :: exclude        !< Switch name of the mutually exclusive CLA.
integer(I4P), optional, intent(in) :: exclude_idx(:) !< CLA indices of the mutually exclusive CLA.

Notes:

Tia

szaghi commented 1 year ago

I have to think carefully to this request, currently, I am quite busy, thus I think this will get low priority for now.

Kind regards