Permalink
Browse files

Updating documents

  • Loading branch information...
1 parent 436d79d commit 4ebf8fe74926a8eb79b68fbf5acf82ce7e900255 @amir amir committed Mar 5, 2009
Showing with 69 additions and 4 deletions.
  1. +21 −1 bti.1
  2. +4 −3 bti.c
  3. +44 −0 bti.xml
View
22 bti.1
@@ -171,7 +171,7 @@ bti \- send a tweet to twitter\&.com or identi\&.ca from the command line
.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
@@ -188,6 +188,16 @@ Specify the twitter\&.com or identi\&.ca account name\&.
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\&.
@@ -258,6 +268,16 @@ The twitter\&.com or identi\&.ca account name you wish to use to send this messa
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\&.
View
7 bti.c
@@ -80,19 +80,20 @@ struct bti_curl_buffer {
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");
View
44 bti.xml
@@ -28,6 +28,8 @@
<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>
@@ -62,6 +64,27 @@
</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>
@@ -191,6 +214,27 @@
</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>

0 comments on commit 4ebf8fe

Please sign in to comment.