Difference between revisions of "Pacman-mirrors"

imported>Fhdk
imported>Fhdk
Line 77: Line 77:
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<pre>
<pre>
 
~ >>> pacman-mirrors 
optional arguments:
Version 4.4.0
  -h, --help            show this help message and exit
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:
  -g, --generate        Generate mirrorlist with defaults
   -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: --country --interactive --method
                         mirrors. Ignores:
                        --geoip
   -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
  -y, --sync            Syncronize pacman databases
Deprecated arguments:
-y, --sync
Please use 'sudo pacman -Syy'


-g, --generate
!! Deprecated argument: '-g/--generate'!
Please use 'sudo pacman-mirrors -f <number>' use 0 for all mirrors
  Please use '-f/--fasttrack NUMBER', Use 0 for all mirrors
!! Deprecated argument: '-y/--sync'!
  Please use 'pacman -Syy'


</pre>
</pre>
Anonymous user