Difference between revisions of "Pacman-mirrors"
→Available arguments
imported>Fhdk (→TL:DR) |
imported>Fhdk |
||
Line 77: | Line 77: | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<pre> | <pre> | ||
~ >>> pacman-mirrors | |||
Version 4.4.0 | |||
USAGE: | |||
pacman-mirrors [-h] [-f NUMBER] [-i [-d]] [-m METHOD] | |||
[-c COUNTRY [COUNTRY...]] [--geoip] [-l] | |||
[-b BRANCH | -G | -S/-B BRANCH] [-a] [-p PREFIX] | |||
[-P PROTO [PROTO...]] [-R] [-U URL] | |||
[-q] [-t SECONDS] [-v] [-n] | |||
METHODS: | METHODS: | ||
-f, --fasttrack NUMBER | -f, --fasttrack NUMBER | ||
Generate mirrorlist with a number of up-to-date | Generate mirrorlist with a number of up-to-date | ||
mirrors. Ignores: | mirrors. Ignores: | ||
-i, --interactive Generate custom mirrorlist | -i, --interactive Generate custom mirrorlist | ||
-d, --default Interactive: Load default mirror file | -d, --default Interactive: Load default mirror file | ||
Line 104: | Line 107: | ||
Branch name | Branch name | ||
-G, --get-branch API: Return branch from configuration | -G, --get-branch API: Return branch from configuration | ||
-S, --set-branch {stable,testing,unstable} | -S, -B, --set-branch {stable,testing,unstable} | ||
API: Replace branch in configuration | API: Replace branch in configuration | ||
API: | API: | ||
-a, --api [-p PREFIX][-R][-S|-G BRANCH][-P PROTO [PROTO ...]] | -a, --api [-p PREFIX][-R][-S|-G BRANCH][-P PROTO [PROTO ...]] | ||
-p, --prefix PREFIX API: Set prefix to: $mnt | /mnt/install | -p, --prefix PREFIX API: Set prefix to : $mnt | /mnt/install | ||
-P, --proto, --protocols {all,http,https,ftp,ftps} [{all,http,https,ftp,ftps} ...] | -P, --proto, --protocols {all,http,https,ftp,ftps} [{all,http,https,ftp,ftps} ...] | ||
API: Replace protocols in configuration | API: Replace protocols in configuration | ||
Line 116: | Line 119: | ||
MISC: | MISC: | ||
-h, --help | |||
-q, --quiet Quiet mode - less verbose output | -q, --quiet Quiet mode - less verbose output | ||
-t, --timeout SECONDS | -t, --timeout SECONDS | ||
Line 121: | Line 125: | ||
-v, --version Print the pacman-mirrors version | -v, --version Print the pacman-mirrors version | ||
-n, --no-mirrorlist Use to skip generation of mirrorlist | -n, --no-mirrorlist Use to skip generation of mirrorlist | ||
!! Deprecated argument: '-g/--generate'! | |||
Please use ' | Please use '-f/--fasttrack NUMBER', Use 0 for all mirrors | ||
!! Deprecated argument: '-y/--sync'! | |||
Please use 'pacman -Syy' | |||
</pre> | </pre> |