Debian Codegraph @

bash-completion/uuidd

raw
1 _uuidd_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 '-p'|'--pid'|'-s'|'--socket')
9 local IFS=$'\n'
10 compopt -o filenames
11 COMPREPLY=( $(compgen -f -- $cur) )
12 return 0
13 ;;
14 '-T'|'--timeout')
15 local IFS=$'\n'
16 compopt -o filenames
17 COMPREPLY=( $(compgen -W "timeout" -- $cur) )
18 return 0
19 ;;
20 '-n'|'--uuids')
21 local IFS=$'\n'
22 compopt -o filenames
23 COMPREPLY=( $(compgen -W "number" -- $cur) )
24 return 0
25 ;;
26 '-h'|'--help'|'-V'|'--version')
27 return 0
28 ;;
29 esac
30 case $cur in
31 -*)
32 OPTS="--cont-clock
33 --pid
34 --socket
35 --timeout
36 --kill
37 --random
38 --time
39 --uuids
40 --no-pid
41 --no-fork
42 --socket-activation
43 --debug
44 --quiet
45 --version
46 --help"
47 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
48 return 0
49 ;;
50 esac
51 return 0
52 }
53 complete -F _uuidd_module uuidd