Example:
./myscript --ip 192.168.1.1 --port 1985
or another possible
./myscript --port 1985 --ip 192.168.1.1
I want to allow my script to take a set of arguments, in any order
./myscript a b c d
./myscript d c b a
./myscript b d a c
Etcetera
take a look at
getopts