Exemplo n.º 1
0
 if ($files == '$') {
     $stdin = TRUE;
 }
 //<-- end if -->
 // command options
 $debugmode = $result->options['debug'];
 $varmode = $result->options['variables'];
 $verbose = $result->options['verbose'];
 $rating = $result->options['rating'];
 $spotlight = $result->options['spotlight'];
 $tags = $result->options['tags'];
 $clearTag = $result->options['clearTag'];
 $unrate = $result->options['unrate'];
 // program setting
 $general = new general($verbose);
 $program = $general->getBase(__FILE__);
 // load options if present
 if ($result->options['prefix']) {
     $prefix = $result->options['prefix'];
 }
 //<-- end if -->
 if ($result->options['rate']) {
     $rate = $result->options['rate'];
 }
 //<-- end if -->
 if ($result->options['addTag']) {
     $addTag = $result->options['addTag'];
 }
 //<-- end if -->
 if ($result->options['setTag']) {
     $setTag = $result->options['setTag'];