bash script: making options?
Hi, I'm not sure whether this is the correct place to post this, but here goes. I'm learning how to write bash scripts and I was wondering how to make a script so it could have different options, you know, like rm -rv or cp -v. I have written a simple script and want to make it so I can pass these options to it when run. So far I have it so it checks if there is an argument, and if there is it prints the help screen and exits, I could type: command -I -like -tabasco -sauce, and I get the help screen. But I would like to be able to add more options to it. So could someone kindly explain to me how this is done, or point me in the right direction, any help at all would be excellent.