aboutsummaryrefslogtreecommitdiffstats
path: root/src/_rspec
diff options
context:
space:
mode:
authorKazuya Takeshima <mail@mitukiii.jp>2014-09-18 15:28:46 +0900
committerKazuya Takeshima <mail@mitukiii.jp>2014-09-18 15:28:46 +0900
commitbe061e6715ecea46900456ed2849a8d8c1e9b4b7 (patch)
tree81ec5865a7a18d00619aeb6394985c6c2afe56d9 /src/_rspec
parentMerge pull request #258 from felixbuenemann/fix-pgsql-utils-typo (diff)
downloadzsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar.gz
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar.bz2
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar.lz
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar.xz
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.tar.zst
zsh-completions-be061e6715ecea46900456ed2849a8d8c1e9b4b7.zip
Add '--exclude-pattern' option
Diffstat (limited to 'src/_rspec')
-rw-r--r--src/_rspec1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_rspec b/src/_rspec
index e5be02c..394fe4b 100644
--- a/src/_rspec
+++ b/src/_rspec
@@ -37,6 +37,7 @@ _rspec() {
'(-p --profile)'{-p,--profile}'[Enable profiling of examples and list the slowest examples (default: 10)]: :_guard "[[\:digit\:]]#" "COUNT"' \
'(-w --warnings)'{-w,--warnings}'[Enable ruby warnings]' \
'(-P --pattern)'{-P,--pattern}'[Load files matching pattern (default: "spec/**/*_spec.rb")]:PATTERN:' \
+ --exclude-pattern'[Load files except those matching pattern]:PATTERN:' \
'(-e --example)'{-e,--example}'[Run examples whose full nested names include STRING (may be used more than once)]:STRING:' \
'(-t --tag)'{-t,--tag}'[Run examples with the specified tag, or exclude examples by adding ~ before the tag]: :->tag' \
--default-path'[Set the default path where RSpec looks for examples (can be a path to a file or a directory)]:PATH:_files' \