You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
Each flag could take a method pointer that takes a
proc_t*
and a pointer to the flag object itself such that it can modifycli_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'The text was updated successfully, but these errors were encountered: