]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/facebookqueuehandler.php
- Rewrote SyncTwitterFriends as a daemon
[quix0rs-gnu-social.git] / scripts / facebookqueuehandler.php
index f01e45a3b4346e268750fd4d29a3cbc50954a1bd..05a35577fea71b87f34a35f3746b6a0c68e9c8d7 100755 (executable)
@@ -20,8 +20,8 @@
 
 define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
 
-$shortoptions = 'i';
-$longoptions = array('id');
+$shortoptions = 'i::';
+$longoptions = array('id::');
 
 $helptext = <<<END_OF_FACEBOOK_HELP
 Daemon script for pushing new notices to Facebook.
@@ -59,8 +59,8 @@ class FacebookQueueHandler 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) {