fixed for rosmsg-proto exec name

This commit is contained in:
Ken Conley 2012-02-15 02:22:23 +00:00
parent 138ab7b30e
commit 13729ae3cf
1 changed files with 2 additions and 2 deletions

View File

@ -639,7 +639,7 @@ function _roscomplete_rostopic {
opts=`_msg_opts ${COMP_WORDS[$COMP_CWORD]}`
COMPREPLY=($(compgen -W "$opts" -- ${arg}))
elif [[ $COMP_CWORD == 4 ]]; then
opts=`rosrun rosmsg rosmsgproto msg -s ${COMP_WORDS[3]}`
opts=`rosmsg-proto msg -s ${COMP_WORDS[3]}`
COMPREPLY="$opts"
fi
;;
@ -671,7 +671,7 @@ function _roscomplete_rosservice {
case ${COMP_WORDS[1]} in
call)
type=`rosservice type ${COMP_WORDS[2]}`
opts=`rosrun rosmsg rosmsgproto srv -s ${type}`
opts=`rosmsg-proto srv -s ${type}`
COMPREPLY="$opts"
;;
esac