Skip to content

Array options (i.e -Werror -Wall becomes {"error", "all"}) #56

Open
@a-random-lemurian

Description

@a-random-lemurian

Now, if I was actually making a compiler, I probably would use a different argument parsing library. How would we deal with multiple options?

If we ran:

./a.out -Ooption1 -Ooption2

I would expect to get something along the lines of {"option1", "option2"}. Is it possible to do this, or do I have to implement this myself?

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