Spit out error if given -d without argument.

Bug #74067


git-svn-id: svn://10.0.0.236/trunk@106030 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com 2001-10-23 06:25:59 +00:00
parent 9161f336a5
commit 3e4295eb82

View File

@ -290,7 +290,12 @@ do
;;
-d | --debugger)
moz_debugger=$2;
shift 2
if [ "${moz_debugger}" != "" ]; then
shift 2
else
echo "-d requires an argument"
exit 1
fi
;;
*)
break;