Skip to content

Commit

Permalink
Merge pull request #545 from dkarter/patch-1
Browse files Browse the repository at this point in the history
Add --only-failures to rspec completions
  • Loading branch information
sirech committed Jan 10, 2018
2 parents f615a1b + a9ca8f5 commit 70a7a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_rspec
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ _rspec() {
'*'{-O,--options}'[Specify the path to a custom options file]:PATH:_files' \
--order'[Run examples by the specified order type]: :->order' \
--seed'[Equivalent of --order rand:SEED]: :_guard "[[\:digit\:]]#" "SEED"' \
--only-failures'[Filter to just the examples that failed the last time they ran]' \
--fail-fast'[Abort the run on first failure]' \
--no-fail-fast'[Do not abort the run on first failure]' \
--failure-exit-code'[Override the exit code used when there are failing specs]: :_guard "[[\:digit\:]]#" "CODE"' \
Expand Down

0 comments on commit 70a7a5c

Please sign in to comment.