e1d168 Change tcar_getPathComponent option parsing, from getopt to getopts.

Authored and Committed by Alain Reguera Delgado 10 years ago
    Change tcar_getPathComponent option parsing, from getopt to getopts.
    
    - Previously, tcar_getPathComponent was using getopt to parse options
      passed through positional parameters. This required to call the
      tcar_setModuleArguments function which has been modified for
      module-specific environment contexts and cannot process options
      passed to functions. In order to interpret options passed to
      tcar_getPathComponent, this update changes tcar_getPathComponent
      option parsing from getopt to getopts.