poco icon indicating copy to clipboard operation
poco copied to clipboard

Application::processOptions()

Open micheleselea opened this issue 7 years ago • 2 comments

the OptionProcessor throw an exception if we give it an argument not configured in defineOptions(). The problem is that the exception is thrown out of the main application so is uncatchable. Is there a way to handle it? so for example simply ignore command line unknown? or could be an option of OptionSet?

micheleselea avatar Sep 18 '18 06:09 micheleselea

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Jun 25 '22 03:06 github-actions[bot]

Looking through the code, it seems there's no way to control it. Perhaps Application::processOptions could be made virtual and protected. I've done some work recently where I found the logic quite constraining for some fairly complex option logic.

aleks-f avatar Jun 25 '22 17:06 aleks-f

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Nov 27 '23 02:11 github-actions[bot]

This issue was closed because it has been inactive for 60 days since being marked as stale.

github-actions[bot] avatar Jan 27 '24 02:01 github-actions[bot]