Skip to content

Commit

Permalink
Remove redundant harmony flag
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstjules committed Sep 12, 2015
1 parent 0956c02 commit 4747437
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ program
.option('--debug-brk', "enable node's debugger breaking on the first line")
.option('--globals <names>', 'allow the given comma-delimited global [names]', list, [])
.option('--es_staging', 'enable all staged features')
.option('--harmony', 'enable all harmony features (except typeof)')
.option('--harmony_<classes,generators,...>', 'all node --harmony* flags are available')
.option('--harmony<_classes,_generators,...>', 'all node --harmony* flags are available')
.option('--inline-diffs', 'display actual/expected differences inline within each string')
.option('--interfaces', 'display available interfaces')
.option('--no-deprecation', 'silence deprecation warnings')
Expand Down

3 comments on commit 4747437

@jkresner
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Less is more :-)

@gangadharingithub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how should we use this new --harmony<_classes,_generators,...> flag ?
its giving error if we have this flag in our mocha.opt file

thanks

@danielstjules
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's multiple flags. Maybe that's not very clear. E.g. --harmony_classes, --harmony_generators, --harmony_scoping, etc

Please sign in to comment.