+ $cli_options = getopt("h", array("help"));
+ foreach ($cli_options as $opt => $val) {
+ switch ($opt) {
+ case 'h':
+ case 'help':
+ echo usage($argv);
+ exit(0);
+ default:
+ die(usage($argv));
+ }
+ }
+
+ $options['src_url'] = $argv[count($cli_options) + 1];