Replace getopt with argparse Remove useless globals Fix PEP8 warnings Replace top() with native list index Handle Expat exceptions Closes #321.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7159 b64f7644-9d1e-0410-96f1-a4d463321fa5
This results in custom preset support in the CLI and additional command line options to fully support all preset keys. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7158 b64f7644-9d1e-0410-96f1-a4d463321fa5