.SH "Synopsis"
.fam C
.HP \w'\fBbti\fR\ 'u
-\fBbti\fR [\fB\-\-account\ account\fR] [\fB\-\-password\ password\fR] [\fB\-\-host\ HOST_NAME\fR] [\fB\-\-proxy\ PROXY:PORT\fR] [\fB\-\-logfile\ LOGFILE\fR] [\fB\-\-bash\fR] [\fB\-\-debug\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
+\fBbti\fR [\fB\-\-account\ account\fR] [\fB\-\-password\ password\fR] [\fB\-\-action\ action\fR] [\fB\-\-user\ screenname\fR] [\fB\-\-host\ HOST_NAME\fR] [\fB\-\-proxy\ PROXY:PORT\fR] [\fB\-\-logfile\ LOGFILE\fR] [\fB\-\-bash\fR] [\fB\-\-debug\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
.fam
.SH "DESCRIPTION"
.PP
Specify the password of your twitter\&.com or identi\&.ca account\&.
.RE
.PP
+\fB\-\-action action\fR
+.RS 4
+Specify the action which you want to perform\&. Valid options are "update" to send a message, "friends" to see your friends timeline, "public" to track public timeline, "replies" to see replies to your messages and "user" to see a specific user timeline\&.
+.RE
+.PP
+\fB\-\-user screenname\fR
+.RS 4
+Specify the user you want to see his/her messages while the action is "user"\&.
+.RE
+.PP
\fB\-\-host HOST_NAME\fR
.RS 4
Specify the host which you want to send your message to\&. Valid options are "twitter" to send to twitter\&.com and "identica" to send to identi\&.ca\&.
The twitter\&.com or identi\&.ca password for the account you wish to use to send this message with\&.
.RE
.PP
+\fBaction\fR
+.RS 4
+Specify the action which you want to perform\&. Valid options are "update" to send a message, "friends" to see your friends timeline, "public" to track public timeline, "replies" to see replies to your messages and "user" to see a specific user timeline\&.
+.RE
+.PP
+\fBscreenname\fR
+.RS 4
+Specify the user you want to see his/her messages while the action is "user"\&.
+.RE
+.PP
\fBhost\fR
.RS 4
The host you want to use to send the message to\&. Valid options are either "twitter" or "identica" to send to twitter\&.com or identi\&.ca respectively\&.
static void display_help(void)
{
- fprintf(stdout, "bti - send tweet to twitter\n");
+ fprintf(stdout, "bti - send tweet to twitter or identi.ca\n");
fprintf(stdout, "Version: " BTI_VERSION "\n");
fprintf(stdout, "Usage:\n");
fprintf(stdout, " bti [options]\n");
fprintf(stdout, "options are:\n");
fprintf(stdout, " --account accountname\n");
fprintf(stdout, " --password password\n");
+ fprintf(stdout, " --action action\n");
+ fprintf(stdout, " ('update', 'friends', 'public', 'replies' or 'user')\n");
+ fprintf(stdout, " --user screenname\n");
fprintf(stdout, " --proxy PROXY:PORT\n");
fprintf(stdout, " --host HOST\n");
fprintf(stdout, " --logfile logfile\n");
fprintf(stdout, " --bash\n");
- fprintf(stdout, " --action action\n");
- fprintf(stdout, " --user screenname\n");
fprintf(stdout, " --debug\n");
fprintf(stdout, " --version\n");
fprintf(stdout, " --help\n");
<command>bti</command>
<arg><option>--account account</option></arg>
<arg><option>--password password</option></arg>
+ <arg><option>--action action</option></arg>
+ <arg><option>--user screenname</option></arg>
<arg><option>--host HOST_NAME</option></arg>
<arg><option>--proxy PROXY:PORT</option></arg>
<arg><option>--logfile LOGFILE</option></arg>
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--action action</option></term>
+ <listitem>
+ <para>
+ Specify the action which you want to perform. Valid options
+ are "update" to send a message, "friends" to see your friends
+ timeline, "public" to track public timeline, "replies" to see
+ replies to your messages and "user" to see a specific user's
+ timeline.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--user screenname</option></term>
+ <listitem>
+ <para>
+ Specify the user you want to see his/her messages while the
+ action is "user".
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>--host HOST_NAME</option></term>
<listitem>
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--action action</option></term>
+ <listitem>
+ <para>
+ Specify the action which you want to perform. Valid options
+ are "update" to send a message, "friends" to see your friends
+ timeline, "public" to track public timeline, "replies" to see
+ replies to your messages and "user" to see a specific user's
+ timeline.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--user screenname</option></term>
+ <listitem>
+ <para>
+ Specify the user you want to see his/her messages while the
+ action is "user".
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry>
<term><option>host</option></term>
<listitem>