How to pass command line argument in shell script?

I need to write a shell script, when I run that script I should pass those arguments if not, then script should not run and pass the error message like

invalid option - - should pass the argument.

and Exit from the script

No double posting or pumping! Closed !
Continue here: