diff --git a/CHANGELOG.md b/CHANGELOG.md
index 759d9cc4f..e57af5a1b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+
+## [5.6.2](https://github.com/gemini-testing/gemini/compare/v5.6.1...v5.6.2) (2018-03-26)
+
+
+### Bug Fixes
+
+* move set option to commander global options ([85d7d04](https://github.com/gemini-testing/gemini/commit/85d7d04))
+
+
+
## [5.6.1](https://github.com/gemini-testing/gemini/compare/v5.6.0...v5.6.1) (2018-03-23)
diff --git a/lib/cli/index.js b/lib/cli/index.js
index 732f722aa..61a1e5c32 100644
--- a/lib/cli/index.js
+++ b/lib/cli/index.js
@@ -24,6 +24,7 @@ exports.run = () => {
program
.option('-b, --browser ', 'run test only in specified browser', collect)
+ .option('-s, --set ', 'set to run', collect)
.option('--grep ', 'run only suites matching the pattern', RegExp);
program.command('update [paths...]')
@@ -36,7 +37,6 @@ exports.run = () => {
program.command('test [paths...]')
.allowUnknownOption()
.option('-r, --reporter ', 'test result reporter (flat by default)', collect)
- .option('-s, --set ', 'set to run', collect)
.description('run tests')
.on('--help', () => {
console.log(' Reporters:');
@@ -104,7 +104,7 @@ function mkRunFn(gemini, method, globalOpts) {
handleUncaughtExceptions();
return gemini[method](paths, {
- sets: opts.set,
+ sets: globalOpts.set,
reporters: parseReporterOptions(opts),
grep: globalOpts.grep,
browsers: globalOpts.browser,
diff --git a/package-lock.json b/package-lock.json
index 2d29ad5ff..b5e6529cf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "gemini",
- "version": "5.6.1",
+ "version": "5.6.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 8ad88c92c..c2570300c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "gemini",
- "version": "5.6.1",
+ "version": "5.6.2",
"description": "UI Screenshot testing utility",
"engines": {
"node": ">= 6.0.0"