florianpilz/micro-optparse — Issue #5: [Feature] Required Options
Author: florianpilz
Created: 2011-11-28 19:36:42+00:00
State: open

Currently all options are, well, optional. This is due to the fact that a default value must be given to set the required type.
It would be nice to be able to have options which must be given by the user, therefore have no default.

This is important for scripts which require a file to work on, since a default value would make no sense and lead to a crash if no counter-measurements are taken. (For example using "" as default and check for length > 0 or the like.)