aboutsummaryrefslogtreecommitdiff
blob: c9e7434498da0ff10aa0f6183c20602e826974fe (plain)
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
#compdef perl-cleaner
# perl-cleaner-2.18

local arguments

arguments=(
  '(- :)'{--help,-h}'[show help]'
  '(- :)'{--version,-V}'[show version]'
  {'(--pretend)-p','(-p)--pretend'}"[pretend (don't do anything)]"
  '*'{-v,--verbose}'[increase verbosity (may be specified multiple times)]'
  '*'{-q,--quiet}'[decrease verbosity]'
  "--modules[rebuild perl modules for old installs of perl]"
  "--allmodules[rebuild all perl modules]"
  "--libperl[rebuild anything linked against libperl]"
  "--ph-clean[clean out old ph files from a previous perl]"
  "--phupdate[update existing ph files, useful after an upgrade to system parts like the kernel]"
  "--phall[short for '--ph-clean --phupdate']"
  "--all[short for '--modules --libperl --phall']"
  "--reallyall[short for '--allmodules --libperl --phall']"
  "--leftovers[shows all files that were not rebuilt]"
  '(- :)'{--package-manager,-P}'[use package manager]:package manager:((portage pkgcore paludis))'
)

_arguments $arguments

# vim: set et sw=2 ts=2 ft=zsh: