When an option requires an argument, getopts places that argument into the shell variable OPTARG. getopts reports errors in one of two ways.
確定! 回上一頁