chiark / gitweb /
tg-mail: accept -i/-w
[topgit.git] / contrib / tg-completion.bash
index eff85ee2b14034409e1a033886cfa40e2c0dd4c6..ddc7655fde13bacd68cc4191a0414839de0c620c 100755 (executable)
@@ -359,6 +359,14 @@ _tg_mail ()
        local cur="${COMP_WORDS[COMP_CWORD]}"
 
        case "$cur" in
+       -*)
+               __tgcomp "
+                       -i
+                       -w
+                       -s
+                       -r
+               "
+               ;;
        *)
                __tgcomp "$(__tg_topics)"
        esac