#! /bin/bash
case "$@" in *--opt-1*|*-h*)
echo OPT_1
exit 0;
esac
case "$@" in *--opt-2*)
echo OPT_2
case "$@" in *--opt-3*)
echo OPT_3