fix -h option

since -h is a flag that is incompatible with the generic parameter
parsing code, we do not parse any parameters if -h was specified. this
should fix the parameters test...