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
1 changed files with 2 additions and 0 deletions

View File

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