static $cli_desc = "Update Currency Exchange Rate";
- static $cli_opts = array();
+ static $cli_opts = array(
+ 'procedures-only' => array(
+ 'desc' => 'Only run procedures and return',
+ 'short' => 'p',
+ 'default' => false,
+ 'min' => 1,
+ 'max' => 1,
+ ),
+ );
var $cli = false;
die("NOT ALLOWED");
}
- function get()
+ function get($args, $opts)
{
$currency = array();