@@ -13,79 +13,7 @@ Install via the [AUR](https://aur.archlinux.org/packages/downgrade/).
1313
1414## Usage
1515
16- ```
17- Usage: downgrade [option...] <pkg> [pkg...] [-- pacman_option...]
18-
19- Options:
20- --pacman <command>
21- pacman command to use, defaults to "pacman"
22- --pacman-conf <path>
23- pacman configuration file, defaults to "/etc/pacman.conf"
24- --pacman-cache <path>
25- pacman cache directory,
26- default value(s) taken from pacman configuration file,
27- or otherwise defaults to "/var/cache/pacman/pkg"
28- --pacman-log <path>
29- pacman log file,
30- default value taken from pacman configuration file,
31- or otherwise defaults to "/var/log/pacman.log"
32- --maxdepth <integer>
33- maximum depth to search for cached packages, defaults to 1
34- --ala-url <url>
35- location of ALA server, defaults to "https://archive.archlinux.org"
36- --ala-only only use ALA server
37- --cached-only only use cached packages
38- --ignore <prompt|always|never>
39- whether to add packages to IgnorePkg
40- --latest pick latest matching version
41- --oldest pick oldest matching version
42- --prefer-cache do not query ala if a matching package was found in cache
43- --version show downgrade version
44- -h, --help show help script
45-
46- Note:
47- Options after the -- characters will be treated as pacman options.
48- See downgrade(8) for details.
49- ```
50-
51- Downgrade packages checking both local cache and the
52- [ A.L.A.] ( https://wiki.archlinux.org/index.php/Arch_Linux_Archive ) , which is the
53- default behavior:
54-
55- ```
56- # downgrade foo bar
57- ```
58-
59- Downgrade packages, specifying multiple cache directories:
60-
61- ```
62- # downgrade --pacman-cache /path/to/cache --pacman-cache /path/to/other/cache foo bar
63- ```
64-
65- Downgrade a package with any of the following version-filtering operators ` = ` ,
66- ` == ` , ` =~ ` , ` <= ` , ` >= ` , ` < ` and ` > ` :
67-
68- ```
69- # downgrade 'foo=1.0.0-1' 'bar>=1.2.1-1' 'baz=~^1.2'
70- ```
71-
72- Downgrade a package, looking in only local cache:
73-
74- ```
75- # downgrade --cached-only foo
76- ```
77-
78- Downgrade a package, looking in only the A.L.A.:
79-
80- ```
81- # downgrade --ala-only foo
82- ```
83-
84- Noninteractively downgrade foo to 1.0.0-1
85-
86- ```
87- # downgrade --latest --prefer-cache --ignore never 'foo=1.0.0-1'
88- ```
16+ See [ downgrade(8)] ( https://archlinux-downgrade.github.io/downgrade/downgrade.8 ) .
8917
9018## Configuration
9119
0 commit comments