Use `OptionParser` in bin/qa
See the discussion on https://gitlab.com/gitlab-org/quality/nightly/merge_requests/25
The
OptionParser
in the gem removes one "--" from ARGV as can be seen from your output. The bin/qa does not have OptionParser so a single "--" works there whereas the gem needs two "--" which is ultimately reduced to one by theOptionParser
.😑
Yes exactly! I think we should at least parse ARGV with OptionParser
in bin/qa
so that the behavior is the same in both cases.