-
Henrique de Moraes Holschuh authored
Add two command-line parser helpers: * cmdline_get_int() to parse integer parameters; * cmdline_get_enumstr() to parse named parameters; The helpers work with the notion of a default value which is left untouched when arg is null (so they handle an optional arg) or when parsing fails.
ab9e562d