DOC: factor out get_option_parser, update usage (toward sphinx-argparse)