Move further parsing to parse_argument
Move further parsing to parse_argument

Also adds extensive doc comment for parse_argument and extents the
function signature for future use.

Drakulix/zwreec,Drakulix/zwreec