Open
Description
Each flag could take a method pointer that takes a proc_t*
and a pointer to the flag object itself such that it can modify cli_t
according to the variable that it sees and also accumulate results in the flag object. This way we'd always add new items via the array of pointers to flag structs instead of modifying the main method of 'cli_parse'
Metadata
Metadata
Assignees
Labels
No labels