X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=blobdiff_plain;f=contrib%2Ftg-completion.bash;h=de8a7b55d76bcf5059ed4b979e44efd4aaa9918c;hp=4d69c05e26951307a38070bbd0315af60833dbf5;hb=b725fc951a37854fc65945ac5bcab3bc61ccbd94;hpb=3aec3f8eece2f1f2b6d1df66ce48b060733ff6f8 diff --git a/contrib/tg-completion.bash b/contrib/tg-completion.bash index 4d69c05..de8a7b5 100755 --- a/contrib/tg-completion.bash +++ b/contrib/tg-completion.bash @@ -359,6 +359,12 @@ _tg_patch () local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in + -*) + __tgcomp " + -i + -w + " + ;; *) __tgcomp "$(__tg_topics)" esac @@ -369,6 +375,11 @@ _tg_remote () local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in + -*) + __tgcomp " + --populate + " + ;; *) __tgcomp "$(__tg_remotes)" esac