Skip to content

convert option parsing to argparse

Michael Catanzaro requested to merge mcatanzaro/argparse into master

This replaces deprecated optparse with argparse.

It also changes the syntax of how to specify the directory. Instead of passing -d, the directory must now be passed as the final positional argument to the script. This makes sense, because it is mandatory, and using options for mandatory things is confusing.

CC @akitouni

Merge request reports