chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tg-mail: accept -i/-w
[topgit.git]
/
contrib
/
tg-completion.bash
diff --git
a/contrib/tg-completion.bash
b/contrib/tg-completion.bash
index 48e47c7047c3c7308cd10b5a0327a63e94cd6fb1..ddc7655fde13bacd68cc4191a0414839de0c620c 100755
(executable)
--- a/
contrib/tg-completion.bash
+++ b/
contrib/tg-completion.bash
@@
-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
}