# complete arguments to the command
case "$prev" in
"queue")
- COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
- ;;
- *)
- ;;
+ COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
+ ;;
+ "copyfile")
+ COMPREPLY=( $(compgen -f -- ${cur}) )
+ ;;
+ "command")
+ COMPREPLY=( $(compgen -c -- ${cur}) )
+ ;;
+ *)
+ ;;
esac
esac