I want to be able to put a couple of optional arguments on the command line and extract the values, something like this:
my_program verbose=true count=10
where verbose enables messaging, default false, and count is the number of times the program loops, default 1. How do I parse argv to extract the two values and assign them correctly?