Modified the general readArg parser.