summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-16 16:57:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-16 16:57:37 +0200
commit1d01f7d09d6a66488681ffe31998ba85f5da2979 (patch)
tree84e229503a853a0951b99e655241495cbb4ddfa5
parent50cf8aa4aef49a24184b5b4417b6cdcbebcf54e6 (diff)
_twidge: Fix update args
-rw-r--r--etc/completions/_twidge7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/completions/_twidge b/etc/completions/_twidge
index 5f32435..6309c55 100644
--- a/etc/completions/_twidge
+++ b/etc/completions/_twidge
@@ -43,6 +43,8 @@ function _twidge_args {
args_update=(
'(-i --inreplyto)'{-i,--inreplyto}'[update in reply to a message]:message id'
+ '(-i --inreplyto 1)-r[read RFC2822 Mail]'
+ ':status'
)
case $1 in
@@ -62,10 +64,7 @@ function _twidge_args {
_message username
;;
update)
- _arguments \
- '(-r -i --inreplyto)'{-i,--inreplyto}'[in reply to]:message id' \
- '-r[read RFC2822 E-Mail]' \
- '(-r):status'
+ _arguments $args_update
;;
esac
}