mirror of
https://github.com/git/git.git
synced 2024-10-29 21:37:53 +01:00
bash: Add more long options to be completed with "git --<TAB>"
Add the following long options to be completed with command "git": --paginate --work-tree= --help Signed-off-by: Teemu Likonen <tlikonen@iki.fi> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
51fe120903
commit
ce5a2c956f
1 changed files with 3 additions and 0 deletions
|
@ -1271,11 +1271,14 @@ _git ()
|
|||
case "${COMP_WORDS[COMP_CWORD]}" in
|
||||
--*=*) COMPREPLY=() ;;
|
||||
--*) __gitcomp "
|
||||
--paginate
|
||||
--no-pager
|
||||
--git-dir=
|
||||
--bare
|
||||
--version
|
||||
--exec-path
|
||||
--work-tree=
|
||||
--help
|
||||
"
|
||||
;;
|
||||
*) __gitcomp "$(__git_commands) $(__git_aliases)" ;;
|
||||
|
|
Loading…
Reference in a new issue