utilize getopt to parse command line
update doc
minor