You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user manual documents that default value and fallback value can be set to null or Optional.empty() with Option.NULL_VALUE, but this information is not mentioned in the section on Default Values.
Add a subsection to Default Values to clarify how applications can get null or Optional.empty() default values or fallback values.
remkop
changed the title
Document null defaultValue and fallbackValue
DOC: user manual should show how to configure null defaultValue and fallbackValue
Feb 22, 2022
Request from the picocli google group mailing list:
I can see how this could be useful.
This seems closely related to #879
If we go with the suggestion in #879, it becomes possible to specify
{}
as the fallback, which would mean an empty list. Seems doable.The text was updated successfully, but these errors were encountered: