for x in $@; do
if [ "$x" = "-help" ] || [ "$x" = "-h" ]; then
# These options have already been tested, but if we ignore them
# here they are caught by the else block and the program quits.
if [ "$x" = "-debug" ] || [ "$x" = "-d" ] || \
[ "$x" = "-nocolor" ] || [ "$x" = "-nc" ]; then
# Empty block
:
elif [ "$x" = "-help" ] || [ "$x" = "-h" ]; then
ayuda
exit 0