Edit the content of mytest.sh.
#!/bin/bash    
ARGS=`getopt -o c`
eval set -- "${ARGS}"
while true;
do
    case "$1" in
        -c)
            echo "i am c"
            ;;
        *)
            echo "Internal error!"
            exit 1
            ;;
    esac
done
bash mytest.sh -c  get the error info  Internal error! ,why can't trigger the info i am c?  
 
    