@@ -24,6 +24,7 @@ exports.run = () => {
2424
2525 program
2626 . option ( '-b, --browser <browser>' , 'run test only in specified browser' , collect )
27+ . option ( '-s, --set <set>' , 'set to run' , collect )
2728 . option ( '--grep <pattern>' , 'run only suites matching the pattern' , RegExp ) ;
2829
2930 program . command ( 'update [paths...]' )
@@ -36,7 +37,6 @@ exports.run = () => {
3637 program . command ( 'test [paths...]' )
3738 . allowUnknownOption ( )
3839 . option ( '-r, --reporter <reporter>' , 'test result reporter (flat by default)' , collect )
39- . option ( '-s, --set <set>' , 'set to run' , collect )
4040 . description ( 'run tests' )
4141 . on ( '--help' , ( ) => {
4242 console . log ( ' Reporters:' ) ;
@@ -104,7 +104,7 @@ function mkRunFn(gemini, method, globalOpts) {
104104 handleUncaughtExceptions ( ) ;
105105
106106 return gemini [ method ] ( paths , {
107- sets : opts . set ,
107+ sets : globalOpts . set ,
108108 reporters : parseReporterOptions ( opts ) ,
109109 grep : globalOpts . grep ,
110110 browsers : globalOpts . browser ,
0 commit comments