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