about summary refs log tree commit diff
path: root/Completion/BSD/Command/_portlint
blob: d3619bbca5441dd7c7b646ddf9ff7f5c93eb4785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#compdef portlint

_arguments -s \
    '-a[additional check for scripts/* and pkg-*]' \
    '-A[turn on all additional checks (equivalent to -abcNt)]' \
    '-b[warn $(VARIABLE)]' \
    '-c[committer mode]' \
    '-C[pedantic committer mode (equivalent to -abct)]' \
    '-g[group errors together to avoid duplication (disabled if -v is specified)]' \
    '-h[show summary of command line options]' \
    '-v[verbose mode]' \
    '-t[nit pick about use of spaces]' \
    '-N[writing a new port]' \
    '-V[print the version and exit]' \
    '-M:set make variables to ENV (ex. PORTSDIR=/usr/ports.work):_guard ".#" "environment vars"' \
    '-B:allow # contiguous blank lines:_guard "[0-9]#" "numeric value"' \
    ':port directory:_files -/'