I have a script which basically parses a file. While executing this script i want to set two flags.
These are my two cases:
I want to set
--hello-you as a flag which then takes two mandatory arguments after it:
./script.sh --hello-you <FILE> <PATH>
-h or --help to provide help manual.
./script.sh --help or
I know that -h or --help is easy by casing $1 but the problem is that when user preses
--hello-you the program recognizes same as