chiark / gitweb /
tg-mail: accept -i/-w
[topgit.git] / contrib / tg-completion.bash
index 48e47c7047c3c7308cd10b5a0327a63e94cd6fb1..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
@@ -426,7 +434,11 @@ _tg_summary ()
        *)
                __tgcomp "
                        --graphviz
+                       --sort
+                       --deps
                        -t
+                       -i
+                       -w
                "
        esac
 }