Skip to content
  • Ben Boeckel's avatar
    cmArgumentParser: support storing a context value with parsing · 93993c7a
    Ben Boeckel authored
    This allows for parsing of contextual keywords. For example:
    
    ```
    some_command(
      ARG_WITH_CONTEXT foo
      CONTEXT bar
      ARG_WITH_CONTEXT quux)
    ```
    
    will be able to store that `foo` happened without context (or, rather,
    its default value) and `quux` was provided in a `bar` context.
    93993c7a