boostorg / boostorg/program_options

Skip unknown options while parsing env vars

Open
#42 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
136
Forks
117
PR merge metrics
No merged PRs in 30d

Description

When using `parse_environment()` It will be convenient to skip environment variables not recognized as program options that still have the specified prefix.

At the moment all the environment variables that start with the specified prefix are collected and a subsequent call to `store()` will raise a `unknown_option` exception

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.