Fixed parameter parsing error for command-line options with space

when i run this script:
“sudo ./install-appledoc.sh -b /usr/bin -t ~/Library/Application\ Support/appledoc/ “

an error occurred.
“install-appledoc.sh: line 32: [: too many arguments”