]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/facebookqueuehandler.php
change Laconica and Control Yourself to StatusNet in PHP files
[quix0rs-gnu-social.git] / scripts / facebookqueuehandler.php
index f01e45a3b4346e268750fd4d29a3cbc50954a1bd..e07657dc2a29bc86dc12a2ec58e24685a4c9ecf6 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env php
 <?php
 /*
- * Laconica - a distributed open-source microblogging tool
- * Copyright (C) 2008, 2009, Control Yourself, Inc.
+ * StatusNet - a distributed open-source microblogging tool
+ * Copyright (C) 2008, 2009, StatusNet, Inc.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -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) {