Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various maintenance tasks #254

Merged
merged 7 commits into from
Feb 19, 2023
Merged

Conversation

skrobinson
Copy link
Contributor

No description provided.

This replaces the verbiage copied from the Python argparse documentation
and makes the code sample more concrete. This illustrates how to avoid the
multiple help output problem reported in p-ranav#165.

Closes p-ranav#165

Signed-off-by: Sean Robinson <[email protected]>
The intent of ": 1" is to use individual bits to store the bool state of
these class values. Because true != 0, this worked. But it was likely to
bite someone sometime. (My bad: 0fe17e2.)

This commit also adds m_accepts_optional_like_value to the bit field and
sets the default false value in the constructor.

Because we cannot set a default value during declaration (until C++20).
make sure future coders know to set the preferred default in the
constructor.

Closes p-ranav#213

Signed-off-by: Sean Robinson <[email protected]>
This attempts to fix Issue p-ranav#225-1 by reverting the change that turned a
std::bad_any_cast exception into a nullptr.

Reverts commit 3570681.

Signed-off-by: Sean Robinson <[email protected]>
This was made obsolete by commit ea1f7ef.

Signed-off-by: Sean Robinson <[email protected]>
The option() command expects a help string between the variable and the
initial value.

Closes p-ranav#241

Signed-off-by: Sean Robinson <[email protected]>
@skrobinson skrobinson marked this pull request as ready for review January 18, 2023 13:55
@p-ranav p-ranav merged commit e516556 into p-ranav:master Feb 19, 2023
@skrobinson skrobinson deleted the fix-maintenance branch March 7, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants