comparison contrib/bash_completion @ 3483:34cc82c6c7c2

bash_completion: email --bcc
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 22 Oct 2006 01:01:52 -0300
parents e762c0e95eac
children a8823e6824fc
comparison
equal deleted inserted replaced
3482:e762c0e95eac 3483:34cc82c6c7c2
362 362
363 # patchbomb 363 # patchbomb
364 _hg_cmd_email() 364 _hg_cmd_email()
365 { 365 {
366 case "$prev" in 366 case "$prev" in
367 -c|--cc|-t|--to|-f|--from) 367 -c|--cc|-t|--to|-f|--from|--bcc)
368 # we need an e-mail address. let the user provide a function 368 # we need an e-mail address. let the user provide a function
369 # to get them 369 # to get them
370 if [ "$(type -t _hg_emails)" = function ]; then 370 if [ "$(type -t _hg_emails)" = function ]; then
371 local arg=to 371 local arg=to
372 if [[ "$prev" == @(-f|--from) ]]; then 372 if [[ "$prev" == @(-f|--from) ]]; then