feat: Add default missing values of Arg
to help message
#6110
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #6109
This is very much copy-pasted from the implementation of
possible_values
just above it...I'm not sure whether there is a need to add another test case. As is quite a lot of them already have a
default_missing_value
. Hence the large list of failing tests (since the expected and found help output no longer match):Potentially if a option is added to enable/disable this feature, it can be disabled for all of those tests to make them pass as is.
Marked as draft since I don't yet know what to do for testing until it is decided what the feature should look like. However, I wanted to see how difficult it would be to implement. Hence, this PR is basically a stepping stone for implementing the final feature.