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.
+$helptext = <<<END_OF_OMB_HELP
+Daemon script for pushing new notices to OpenMicroBlogging subscribers.
-i --id Identity (default none)
-END_OF_FACEBOOK_HELP;
+END_OF_OMB_HELP;
require_once INSTALLDIR.'/scripts/commandline.inc';
}
}
-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) {