Update completion script with new parameters

This commit is contained in:
mdiluzio 2015-01-10 16:59:45 +00:00
parent d65ef46634
commit 96f5c08c14

View file

@ -5,10 +5,11 @@ test ! -z TTRTS_MAPS && TTRTS_MAPS=/usr/share/ttrts/maps/
have ttrts &&
function _ttrts
{
commandnames=""
commandnames="--server --client --map --host localhost "
for filename in ${TTRTS_MAPS}/*
do
map="${filename##*/}"
commandnames+="--map=$map "
commandnames+="$map "
done