Typically, shell scripts use getopts to parse arguments passed to them. When you specify args on the getopts command ...
www.mkssoftware.com