I must be dense but I just don't understand this. Let's say you're running the example from right out of the PHP Cookbook
// opts.php
require 'Console/Getopt.php';
$o = new Console_Getopt;
$opts = $o->getopt($_SERVER['argv'],'ab:c');
print_r($opts);
and you run your program thus:
php opts.php -a -b sneeze
Now, could somebody please tell this dummy what is the easy and convenient way to figure out that the user specified option a and set b to 'sneeze'?
Thanks a million.