Skip to content

Commit 6123098

Browse files
committed
Merge pull request #19 from chaines/master
Fixed minor typo in Usage
2 parents dd5bd33 + 0465f38 commit 6123098

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ Available options:
3636
```
3737
-h, --help output usage information
3838
-v, --verbose verbose logging
39-
-w, --wait will not close silbling processes on error
39+
-w, --wait will not close sibling processes on error
4040
4141
```

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for (i = 0, len = args.length; i < len; i++) {
2222
case '--help':
2323
console.log('-h, --help output usage information');
2424
console.log('-v, --verbose verbose logging')
25-
console.log('-w, --wait will not close silbling processes on error')
25+
console.log('-w, --wait will not close sibling processes on error')
2626
process.exit();
2727
break;
2828
}

test/index.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ failingProcess = "\\\"node -e 'throw new Error(\"someError\");'\\\""
1919
usageInfo = """
2020
-h, --help output usage information
2121
-v, --verbose verbose logging
22-
-w, --wait will not close silbling processes on error
22+
-w, --wait will not close sibling processes on error
2323
""".split("\n")
2424

2525
spawnParallelshell = (cmd) ->
@@ -60,13 +60,13 @@ describe "parallelshell", ->
6060
done()
6161
),100
6262

63-
it "should close silbling processes on child error", (done) ->
63+
it "should close sibling processes on child error", (done) ->
6464
ps = spawnParallelshell([waitingProcess,failingProcess,waitingProcess].join(" "))
6565
ps.on "close", () ->
6666
ps.exitCode.should.equal 2
6767
done()
6868

69-
it "should wait for silbling processes on child error when called with -w or --wait", (done) ->
69+
it "should wait for sibling processes on child error when called with -w or --wait", (done) ->
7070
ps = spawnParallelshell(["-w",waitingProcess,failingProcess,waitingProcess].join(" "))
7171
ps2 = spawnParallelshell(["--wait",waitingProcess,failingProcess,waitingProcess].join(" "))
7272
setTimeout (() ->

0 commit comments

Comments
 (0)