fixed for rosmsg-proto exec name
This commit is contained in:
parent
138ab7b30e
commit
13729ae3cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue