Skip to content

Function request #4

@ougx

Description

@ougx

Hi this is a great addon for Fortran programmer. I am hoping it can be even further enhanced/

  1. allow multiple arguments after a switch:
    myapp --range 1.0 2.0 or myapp -r 1.0 2.0
    This can be achieved by adding another parameter in the option_s struct such as nopts. Default can be nopts == 0 for no argument.
  2. allow repeating switch:
    myapp --add file1 --add file2 and provide the occurrence of add

Are these implemented? If not, can you implement them? If you do not have time, I can help implement these through a pull request.

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions