chiark / gitweb /
tg-completion: complete options for `tg remote`
[topgit.git] / contrib / tg-completion.bash
index 4d69c05e26951307a38070bbd0315af60833dbf5..9641d04dea15bbf019fe492417b1aa617b26abe7 100755 (executable)
@@ -369,6 +369,11 @@ _tg_remote ()
        local cur="${COMP_WORDS[COMP_CWORD]}"
 
        case "$cur" in
+       -*)
+               __tgcomp "
+                       --populate
+               "
+               ;;
        *)
                __tgcomp "$(__tg_remotes)"
        esac