Function legiscan_getopt
Wrapper around getopt() that also strips recognized options from $argv
array |
$valid_options = array() |
An array of long options that are valid |
string |
$extra = '' |
Additional text that will be added to --help output |
array
|
The parsed options and command arguments |