-
Notifications
You must be signed in to change notification settings - Fork 0
/
_slapt-get
36 lines (35 loc) · 1.66 KB
/
_slapt-get
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
#compdef slapt-get
_arguments \
{-u,--update}'[retrieve pkg data from MIRROR]' \
--upgrade'[upgrade installed pkgs]' \
--dist-upgrade'[upgrade to newer release]' \
{-i,--install}'[\[pkg name(s)\] - install specified pkg(s)]' \
--install-set'[\[disk set(s)\] - install specified disk set(s)]' \
--remove'[\[pkg name(s)\] - remove specified pkg(s)]' \
--show'[\[pkg name(s)\] - show pkg(s) description]' \
--filelist'[\[pkg name(s)\] - show pkg(s) installed files]' \
--search'[\[expression\] - search available pkgs]' \
--list'[list pkgs]' \
--available'[list available pkgs]' \
--installed'[list installed pkgs]' \
--clean'[purge cached pkgs]' \
--autoclean'[only purge cache of older, unreacheable pkgs]' \
--add-keys'[retrieve GPG keys for sources]' \
{-h,--help}'[display this help and exit]' \
--version'[print version and license info]' \
{-d,--download-only}'[only download pkg on install/upgrade]' \
{-s,--simulate}'[show pkgs to be installed/upgraded]' \
{-y,--no-prompt}'[do not prompt during install/upgrade]' \
{-p,--prompt}'[always prompt during install/upgrade]' \
--reinstall'[reinstall the pkg]' \
--ignore-excludes'[install/upgrade excludes]' \
--no-md5'[do not perform md5 check sum]' \
--no-dep'[skip dependency check]' \
--ignore-dep'[ignore dependency failures]' \
--print-uris'[print URIs only, do not download]' \
{-S,--show-stats}'[show download statistics]' \
{-c,--config}'[specify alternate slapt-getrc location]' \
--remove-obsolete'[remove obsolete packages]' \
--retry'[specify number of download retry attempts]' \
--no-upgrade'[install package, do not attempt to upgrade]' \
--allow-unauthenticated'[allow unauthenticated packages]'