Consider a program calledtest.py that may have an option-number -1. Command
mprof run python test.py -number -1
will pass-number -- -1 totest.py, i.e.test.py is started by
python test.py -number -- -1
It seems that therun action doesn't need-- to distinguish the parameters.