Document the new --retweet feature in bti.xml and add it to bash completion.
authorgregor herrmann <gregoa@debian.org>
Fri, 17 Dec 2010 21:35:13 +0000 (22:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jan 2011 18:55:26 +0000 (10:55 -0800)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
bti-bashcompletion
bti.xml

index 3dfdff0..e627ae2 100644 (file)
@@ -8,7 +8,7 @@ _bti()
                COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r
                        --account --action --password --proxy --host --bash \
                        --user --debug --dry-run --shrink-urls --page --version --verbose \
-                       --help --replyto" -- ${cur}) )
+                       --help --replyto --retweet" -- ${cur}) )
        fi
 
        if [[ "${prev}" == "--host" ]] ; then
diff --git a/bti.xml b/bti.xml
index 07ae3de..ae08e4f 100644 (file)
--- a/bti.xml
+++ b/bti.xml
@@ -35,6 +35,7 @@
           <arg><option>--logfile LOGFILE</option></arg>
           <arg><option>--config CONFIGFILE</option></arg>
           <arg><option>--replyto ID</option></arg>
+          <arg><option>--retweet ID</option></arg>
           <arg><option>--page PAGENUMBER</option></arg>
           <arg><option>--bash</option></arg>
           <arg><option>--shrink-urls</option></arg>
               </para>
             </listitem>
           </varlistentry>
+          <varlistentry>
+            <term><option>--retweet ID</option></term>
+            <listitem>
+              <para>
+               Status ID of a single post which you want to retweet.
+             </para>
+            </listitem>
+          </varlistentry>
           <varlistentry>
             <term><option>--shrink-urls</option></term>
             <listitem>