merging r15281

This commit is contained in:
Ken Conley 2011-10-24 22:53:45 +00:00
parent ccf0e3f17a
commit 95b9ed1677
1 changed files with 1 additions and 4 deletions

View File

@ -465,16 +465,13 @@ function _roscomplete_rosservice {
COMPREPLY=($(compgen -W "$opts" -- ${arg}))
elif [[ $COMP_CWORD == 2 ]]; then
case ${COMP_WORDS[1]} in
uri|list|type)
uri|list|type|call)
opts=`rosservice list 2> /dev/null`
COMPREPLY=($(compgen -W "$opts" -- ${arg}))
;;
find)
# Need a clever way to do message searching
;;
call)
# This takes more logic.
;;
esac
fi