使用
getopt
(3c) 处理选项的命令行实用程序。
此实用程序最初接受以下形式的语法:
utility [-ab] -o
file
operands
...
。