contrib/bash_completion
changeset 39399 c54d4607e8aa
parent 39398 8ab79580047f
child 44820 f71c8eea7161
equal deleted inserted replaced
39398:8ab79580047f 39399:c54d4607e8aa
   201             _hg_fix_wordlist
   201             _hg_fix_wordlist
   202             return
   202             return
   203         ;;
   203         ;;
   204         --cwd)
   204         --cwd)
   205             # Stick with default bash completion
   205             # Stick with default bash completion
       
   206             _hg_fix_wordlist
       
   207             return
       
   208         ;;
       
   209         --color)
       
   210             local choices='true false yes no always auto never debug'
       
   211             COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$choices' -- "$cur"))
       
   212             _hg_fix_wordlist
       
   213             return
       
   214         ;;
       
   215         --pager)
       
   216             local choices='true false yes no always auto never'
       
   217             COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$choices' -- "$cur"))
   206             _hg_fix_wordlist
   218             _hg_fix_wordlist
   207             return
   219             return
   208         ;;
   220         ;;
   209     esac
   221     esac
   210 
   222