fabianp/memory_profiler — pull request #5 by octavo (2012-05-14 11:22:16+00:00)
Title: Revert back to optparse

This one uses optparse again but with the same ideas from the other commit b6b93a5d7ef88da3938d02ad37e2c1fc94760e5e. Also, I wasn't sure about removing the conditional that checks whether sys.argv is empty. I did remove the right argument to `or`, though, as help will anyway if the person who ran memory_profiler specified the `-h` option.