I am just starting to use JCommander. What I am trying to do is this:
- allow users to set persistent defaults in a file, but setting only the defaults they care about
- load the file at runtime and use those defaults with an implementation of IDefaultProvider.
Now if my user does not fill in every default, what do I do? There does not seem to be a way to say: there is no default for this item.
I returned null, which promptly generated a NPE...
Am I missing something or is there no way to do it.
Thanks