file 50 lines (48 sloc) 2.198 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#compdef prove
#
# prove(1) of TAP::Harness v3.25

_arguments \
  '(- *)'{-h,--help}'[display help and exit]' \
  '(- *)'{-H,--man}'[display longer help and exit]' \
  '(- *)--version[display version and exit]' \
  '(--quiet -q -Q --QUIET)'{-v,--verbose}'[print all test lines]' \
  {-l,--lib}'[add lib to path]' \
  {-b,--blib}'[add blib to path]' \
  '(--reverse)'{-s,--shuffle}'[run tests in random order]' \
  '(--nocolor)'{-c,--color}'[colored test output]' \
  '(--color -c)--nocolor[do not color test output]' \
  '(--nocount)--count[show x/y test count when not verbose]' \
  '(--count)--nocount[disable x/y test count]' \
  {-D,--dry}'[dry run]' \
  '--ext=[set extension for tests]:extension:' \
  {-f,--failures}'[show failed tests]' \
  {-o,--comments}'[show comments]' \
  '--ignore-exit[ignore exit status from test scripts]' \
  {-m,--merge}'[merge STDERR with STDOUT]' \
  {-r,--recurse}'[recurse into directories]' \
  '(-s --shuffle)--reverse[run tests in reverse order]' \
  '(-v --verbose)'{-q,--quiet}'[suppress some test output]' \
  '(-v --verbose)'{-Q,--QUIET}'[only print summary results]' \
  {-p,--parse}'[show full list of TAP parse errors]' \
  '--directives[only show results for which TODO or SKIP set]' \
  '--timer[print elapsed time]' \
  '--trap[trap ctrl-c and print summary on interrupt]' \
  '--normalize[normalize TAP output in verbose mode]' \
  '-T[enable tainting checks]' \
  '-t[enable tainting warnings]' \
  '-W[enable fatal warnings]' \
  '-w[enable warnings]' \
  '--norc[do not process .proverc]' \
  '*-I=[library paths to include]:libdir:_directories' \
  '*-P=[load plugin]:plugin:' \
  '*-M=[load a module]:module:_perl_m_opt' \
  {-e,--exec}'[interpreter to run the tests]:program: _command_names '{-e,--exec}':*::program arguments: _normal' \
  '--harness=[define test harness]:harness:' \
  '--formatter=[result formatter]:formatter:' \
  '--source=[load or configure a SourceHandler]:source:' \
  {-a,--archive}'[store output in archive file]:file:_files' \
  {-j,--jobs}'[run N jobs in parallel]:jobs:' \
  '*--state=[control persistent state]:state:' \
  '--rc=[custom rcfile]:file:_files' \
  '*:file or directory:_files' \
  && return 0

Markdown Cheat Sheet

Format Text

Headers

# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag

Text styles

*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__

*You **can** combine them*

Lists

Unordered

* Item 1
* Item 2
  * Item 2a
  * Item 2b

Ordered

1. Item 1
2. Item 2
3. Item 3
   * Item 3a
   * Item 3b

Miscellaneous

Images

![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)

Links

http://github.com - automatic!
[GitHub](http://github.com)

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.

Code Examples in Markdown

Syntax highlighting with GFM

```javascript
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}
```

Or, indent your code 4 spaces

Here is a Python code example
without syntax highlighting:

    def foo:
      if not bar:
        return true

Inline code for comments

I think you should use an
`<addr>` element here instead.
Something went wrong with that request. Please try again.