From: Kirill Smelkov Date: Mon, 05 Jan 2009 15:08:19 GMT Subject: [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary` Message-ID: <0de9cf9b84a63a4c33714806aa7eb70cb0d77021.1231167904.git.kirr@landau.phys.spbu.ru> In-Reply-To: Signed-off-by: Kirill Smelkov --- contrib/tg-completion.bash | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) 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 () -- 1.6.1.40.g8ea6a