make enjitqueuehandler use functions and args

This commit is contained in:
Evan Prodromou 2009-06-22 15:43:26 -07:00
parent 0b6f3870ad
commit 6a40ba7764

View File

@ -124,6 +124,8 @@ if (have_option('-i')) {
$id = get_option_value('-i'); $id = get_option_value('-i');
} else if (have_option('--id')) { } else if (have_option('--id')) {
$id = get_option_value('--id'); $id = get_option_value('--id');
} else if (count($args) > 0) {
$id = $args[0];
} else { } else {
$id = null; $id = null;
} }