Improved parse_args()
Improved parse_args()

* added explanation of return values
* fixed an incorrect return value

ChrisLidbury/CLSmith,ChrisLidbury/CLSmith,ChrisLidbury/CLSmith,ChrisLidbury/CLSmith,ChrisLidbury/CLSmith