I am trying to parse command line options using getopts. for parsing options that are words , for e.g -help, Bash is not allowing me to do that. while getopts c:d:fh:help options do case $options in help) echo" Help" ;; done The above code does not parse -help option. Any suggestions -- View this message in context: http://www.nabble.com/Bash-getopts-option-tf3294413.html#a9163816 Sent from the Gnu - Bash mailing list archive at Nabble.com.
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash