CQM-66 cqapi options parsing improvements

Order of argument occurence does matter but shouldn't (cqapi)