command line argument support for python diamond