diff options
Diffstat (limited to 'scripts/ombqueuehandler.php')
-rwxr-xr-x | scripts/ombqueuehandler.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php index deb5f8d7d..1587192b6 100755 --- a/scripts/ombqueuehandler.php +++ b/scripts/ombqueuehandler.php @@ -20,8 +20,8 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); -$shortoptions = 'i'; -$longoptions = array('id'); +$shortoptions = 'i::'; +$longoptions = array('id::'); $helptext = <<<END_OF_OMB_HELP Daemon script for pushing new notices to OpenMicroBlogging subscribers. @@ -72,8 +72,8 @@ class OmbQueueHandler extends QueueHandler } } -if (have_option('-i')) { - $id = get_option_value('-i'); +if (have_option('i')) { + $id = get_option_value('i'); } else if (have_option('--id')) { $id = get_option_value('--id'); } else if (count($args) > 0) { |