From: Kirill Smelkov Date: Mon, 5 Jan 2009 15:08:19 +0000 (+0300) Subject: tg-completion: complete options for `tg summary` X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3aec3f8eece2f1f2b6d1df66ce48b060733ff6f8;p=topgit.git tg-completion: complete options for `tg summary` Signed-off-by: Kirill Smelkov Signed-off-by: martin f. krafft --- diff --git a/contrib/tg-completion.bash b/contrib/tg-completion.bash index 67f820e..4d69c05 100755 --- a/contrib/tg-completion.bash +++ b/contrib/tg-completion.bash @@ -376,7 +376,15 @@ _tg_remote () _tg_summary () { - COMPREPLY=() + local cur="${COMP_WORDS[COMP_CWORD]}" + + case "$cur" in + *) + __tgcomp " + --graphviz + -t + " + esac } _tg_update ()