@@ -181,7 +181,7 @@ const args = yargs(argsBeforeSep)
181181 . parseSync ( ) ;
182182
183183// Get names of commands by the specified separator
184- const names = ( args . names || '' ) . split ( args [ 'name-separator' ] ) ;
184+ const names = ( args . names || '' ) . split ( args . nameSeparator ) ;
185185// If "passthrough-arguments" is disabled, treat additional arguments as commands
186186const commands = args . passthroughArguments ? args . _ : [ ...args . _ , ...argsAfterSep ] ;
187187
@@ -191,22 +191,22 @@ concurrently(
191191 name : names [ index ] ,
192192 } ) ) ,
193193 {
194- handleInput : args [ 'handle-input' ] ,
195- defaultInputTarget : args [ 'default-input-target' ] ,
194+ handleInput : args . handleInput ,
195+ defaultInputTarget : args . defaultInputTarget ,
196196 killOthers : args . killOthers
197197 ? [ 'success' , 'failure' ]
198198 : ( args . killOthersOnFail ? [ 'failure' ] : [ ] ) ,
199- maxProcesses : args [ 'max-processes' ] ,
199+ maxProcesses : args . maxProcesses ,
200200 raw : args . raw ,
201201 hide : args . hide . split ( ',' ) ,
202202 group : args . group ,
203203 prefix : args . prefix ,
204- prefixColors : args [ 'prefix-colors' ] . split ( ',' ) ,
205- prefixLength : args [ 'prefix-length' ] ,
206- restartDelay : args [ 'restart-after' ] ,
207- restartTries : args [ 'restart-tries' ] ,
204+ prefixColors : args . prefixColors . split ( ',' ) ,
205+ prefixLength : args . prefixLength ,
206+ restartDelay : args . restartAfter ,
207+ restartTries : args . restartTries ,
208208 successCondition : args . success ,
209- timestampFormat : args [ 'timestamp-format' ] ,
209+ timestampFormat : args . timestampFormat ,
210210 timings : args . timings ,
211211 additionalArguments : args . passthroughArguments ? argsAfterSep : undefined ,
212212 } ,
0 commit comments