Skip to content

Commit

Permalink
add -S shorthand for --source
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Mar 7, 2016
1 parent 2bf3f1c commit 755849f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var cli = meow([
' --no-cache Disable the transpiler cache',
' --match, -m Only run tests with matching title (Can be repeated)',
' --watch, -w Re-run tests when tests and source files change',
' --source Pattern to match source files so tests can be re-run (Can be repeated)',
' --source, -S Pattern to match source files so tests can be re-run (Can be repeated)',
'',
'Examples',
' ava',
Expand Down Expand Up @@ -87,8 +87,9 @@ var cli = meow([
v: 'verbose',
r: 'require',
s: 'serial',
m: 'match',
w: 'watch',
m: 'match'
S: 'source'
}
});

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ $ ava --help
--no-cache Disable the transpiler cache
--match, -m Only run tests with matching title (Can be repeated)',
--watch, -w Re-run tests when tests and source files change
--source Pattern to match source files so tests can be re-run (Can be repeated)
--source, -S Pattern to match source files so tests can be re-run (Can be repeated)

Examples
ava
Expand Down

0 comments on commit 755849f

Please sign in to comment.