while getopts ":ht" opt; do case ${opt} in h ) # process option h ;; t ) # process option t ;; \? ) echo "Usage: cmd [-h] [-t]" ;; esac done ...
確定! 回上一頁