Debian Codegraph @

bash-completion/copyfilerange

raw
1 _copyfilerange_module()
2 {
3 local cur prev OPTS
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 case $prev in
8 '-H'|'--help'|'-V'|'--version')
9 return 0
10 ;;
11 esac
12 case $cur in
13 -*)
14 OPTS="
15 --ranges
16 --verbose
17 --version
18 --help
19 "
20 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
21 return 0
22 ;;
23 esac
24 local IFS=$'\n'
25 compopt -o filenames
26 COMPREPLY=( $(compgen -d -- $cur) )
27 return 0
28 }
29 complete -F _copyfilerange_module copyfilerange