diff --git a/pod_tweeter.pl b/pod_tweeter.pl index 6b7ae6e..72680a0 100755 --- a/pod_tweeter.pl +++ b/pod_tweeter.pl @@ -36,12 +36,12 @@ my @aspect_ids = (); GetOptions( $opts, - 'access-token=s', - 'access-token-secret=s', + 'access-token|k=s', + 'access-token-secret|e=s', 'aspect-id|a=s' => \@aspect_ids, 'auto-tag|t=s' => \@auto_tags, - 'consumer-key=s', - 'consumer-secret=s', + 'consumer-key|c=s', + 'consumer-secret|r=s', 'database|d=s', 'timeline-id|i=s', 'fetch-only|o', @@ -414,20 +414,19 @@ sub usage { print "$0\n"; print "usage:\n"; print " -a --aspect-id Aspects to share with. May specify multiple times (default: 'public')\n"; - print " -c --category-tags Attempt to automatically hashtagify RSS item 'categories' (default: off)\n"; + print " -c --consumer-key The twitter API consumer key\n"; print " -d --database The SQLite file to store feed data (default: 'feed.db')\n"; - print " -e --title-tags Automatically hashtagify RSS item title\n"; - print " -f --feed-url The feed URL\n"; - print " -g --user-agent Use this to spoof the user-agent if the feed blocks bots (ex: 'Mozilla/5.0')\n"; - print " -i --feed-id An arbitrary identifier to associate database entries with this feed\n"; + print " -e --access-token-secret The twitter API access token secret\n"; + print " -i --timeline-id An arbitrary identifier to associate database entries with this feed\n"; + print " -k --access-token The twitter API access token\n"; print " -l --pod-url The pod URL\n"; - print " -m --timeout How long (in hours) to keep attempting failed posts (default 72)\n"; + print " -m --timeout How long (in hours) to keep attempting failed posts (default: 72)\n"; print " -o --fetch-only Don't publish to Diaspora, just queue the new feed items for later\n"; print " -p --password <********> The D* user password\n"; - print " -r --url-tags Attempt to automatically hashtagify the RSS link URL (default: off)\n"; + print " -r --consumer-secret The twitter API consumer secret\n"; + print " -s --screen-name <\@screenname> The twitter feed to scrape (default: the user associated with the API keys)\n"; print " -t --auto-tag <#hashtag> Hashtags to add to all posts. May be specified multiple times (default: none)\n"; print " -u --username The D* login username\n"; - print " -w --post-raw-link Post the raw link instead of hyperlinking the article title (default: off)\n"; print " -x --limit Only post n items per script run, to prevent post-spamming (default: no limit)\n"; print "\n";