simplify argument parsing and add options --help, -h, --version.
add new command line options to the documentation