summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
81b2ec8)
Include all options.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
+_tg_push ()
+{
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+
+ __tg_complete_arg "-r" && {
+ __tgcomp "$(__tg_remotes)"
+ return
+ }
+
+ case "$cur" in
+ -*)
+ __tgcomp "
+ --no-deps
+ --dry-run
+ --tgish-only
+ -r
+ "
+ ;;
+ *)
+ __tgcomp "$(__tg_topics)"
+ esac
+}
+
_tg_remote ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
_tg_remote ()
{
local cur="${COMP_WORDS[COMP_CWORD]}"
info) _tg_info ;;
mail) _tg_mail ;;
patch) _tg_patch ;;
info) _tg_info ;;
mail) _tg_mail ;;
patch) _tg_patch ;;
remote) _tg_remote ;;
summary) _tg_summary ;;
update) _tg_update ;;
remote) _tg_remote ;;
summary) _tg_summary ;;
update) _tg_update ;;