Replace optionparser with docopt