check for -x argument

This commit is contained in:
George Danchev 2011-07-15 18:33:10 +00:00
parent 587987d019
commit 846eec24d6
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ do
fi
done
#############################################
if test "$next_is" = x
then
echo >&2
echo "Option -x expects an argument (the path to the xorriso program)" >&2
exit 31
fi
if [ ! "${1}" ]; then
cat << HLP