Skip to content
Browse files

Simplify --shuffle definition

  • Loading branch information...
1 parent 047a268 commit ae3968cf666f071f04b020ec9bcaf64c7486d3f5 @5long committed Aug 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/bin/cli.js
View
6 src/bin/cli.js
@@ -39,11 +39,11 @@ function extractArgs() {
return optimist
.demand(1)
.usage("Usage: $0 [options]... [--] <test file...>")
- .describe("S", "Shuffle tests in each suite.")
- .boolean("S")
- .options("S", {
+ .option("S", {
alias: "shuffle"
, default: false
+ , type: 'boolean'
+ , desc: "Shuffle tests in each suite."
})
.argv
}

0 comments on commit ae3968c

Please sign in to comment.
Something went wrong with that request. Please try again.