#!/bin/bash

__contains_word () {
		local w word=$1; shift
		for w in "$@"; do
				[[ $w = "$word" ]] && return
		done
}

_voxl_inspect_vtx(){

	local OPTS=('--help --newline --pipe --test --json --json_human')
	local OPTS_SHORT=('-h -n -p -t -j -k')

	COMPREPLY=()
	if [ "$COMP_CWORD" -eq 1 ]; then
		COMPREPLY=( $(compgen -W '${OPTS}' -- ${COMP_WORDS[COMP_CWORD]}) )
		return 0
	fi

}

complete -F _voxl_inspect_vtx voxl-inspect-vtx
