summaryrefslogtreecommitdiffstats
path: root/shell-completion/uuidgen
blob: d9edde9b03e2cafc12f4ddfd76eba7cfac5ec99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
_uuidgen_module()
{
	local cur OPTS
	COMPREPLY=()
	cur="${COMP_WORDS[COMP_CWORD]}"
	case $cur in
		-*)
			OPTS="-r --random -t --time -V --version -h --help"
			COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
			return 0
			;;
	esac
	return 0
}
complete -F _uuidgen_module uuidgen