parser.add_argument("-i","--json-file",dest="jsonFile",help="path to DbDump.json file from the xenmobile file bundle")
parser.add_argument("-o","--outdir",dest="outDir",help="output directory for the json files")
There is a space in the name please ensure we don't have spaces in the name the script's argument check is working perfectly on a MAC and a linux I tested.
Debug$ python python.py -i JSONFILE XXX.json -o test2 usage: python.py [-h] [-i JSONFILE] [-o OUTDIR] python.py: error: unrecognized arguments: XXX.json
Maybe something to do here:
parser.add_argument("-i","--json-file",dest="jsonFile",help="path to DbDump.json file from the xenmobile file bundle") parser.add_argument("-o","--outdir",dest="outDir",help="output directory for the json files")