summaryrefslogtreecommitdiff
path: root/scripts/pingqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pingqueuehandler.php')
-rw-r--r--scripts/pingqueuehandler.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/pingqueuehandler.php b/scripts/pingqueuehandler.php
index 1bde4bc5f..23678ea4b 100644
--- a/scripts/pingqueuehandler.php
+++ b/scripts/pingqueuehandler.php
@@ -20,8 +20,8 @@
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
-$shortoptions = 'i';
-$longoptions = array('id');
+$shortoptions = 'i::';
+$longoptions = array('id::');
$helptext = <<<END_OF_PING_HELP
Daemon script for pushing new notices to ping servers.
@@ -54,8 +54,8 @@ class PingQueueHandler 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) {