Original Issue: https://github.com/trentmwillis/ember-exam/issues/84 Something has changed in the way that ember-cli parses arguments, I just wanted to add this here for visibility. ```DEBUG=ember-cli:* ember exam:iterate 2 --options "--reporter teamcity --random"``` Output on 2.11.1 ``` Wed, 19 Apr 2017 19:06:57 GMT ember-cli:cli command: exam:iterate Wed, 19 Apr 2017 19:06:57 GMT ember-cli:testing cli: command.validateAndRun Building app for test iterations. cleaning up... ``` Output on 2.12.0-beta.1 ``` Wed, 19 Apr 2017 19:11:12 GMT ember-cli:command [lookup-command#3] initialize: name: exam:iterate, name: %s Wed, 19 Apr 2017 19:11:12 GMT ember-cli:platform-checker: [platform-checker#253] { version: 'v7.9.0', isValid: true, isTested: true, isDeprecated: false } Wed, 19 Apr 2017 19:11:12 GMT ember-cli:cli command: exam:iterate Wed, 19 Apr 2017 19:11:12 GMT ember-cli:testing cli: command.beforeRun Wed, 19 Apr 2017 19:11:12 GMT ember-cli:testing cli: command.validateAndRun The option '--reporter teamcity --random' is not registered with the exam:iterate command. Run `ember exam:iterate --help` for a list of supported options. Building app for test iterations. ```
Activity
calderas commentedon Apr 27, 2017
This issue is related to updating
noptfrom version 3.x to 4.x on 2.12.0-beta.1+ff0b96e
https://github.com/ember-cli/ember-cli/blob/master/lib/models/command.js#L570
Example:
Logging options with nopt version 3.x, options work fine.
Logging options with nopt version 4.x, options are empty.
stefanpenner commentedon Apr 27, 2017
Interesting, sounds like this might be an upstream nopt bug, Got time to see if thats the case?
calderas commentedon Apr 27, 2017
Looks like it. Does it make sense to revert to the previous version of nopt in the meantime?
stefanpenner commentedon Apr 27, 2017
yup
stefanpenner commentedon Apr 27, 2017
@calderas mind submitting a PR? + quick unit test so we get a test failure if someone tries to upgrade before this is fixed upstream.
Merge pull request #6986 from calderas/chore/GH-6970-nopt-dep