Difference between revisions of "Pacman-mirrors"

→‎Available arguments: updated arguments to 4.16.4
imported>Fhdk
(→‎Commands customizing the mirror pool: Clarifying the creation of custom mirror pool and added the --continent argument)
imported>Fhdk
(→‎Available arguments: updated arguments to 4.16.4)
Line 113: Line 113:
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<pre>
<pre>
~ >>> pacman-mirrors -h                                                                
➜  ~ pacman-mirrors -h    
Version 4.9.0
Version 4.16.4
USAGE:
USAGE:
  pacman-mirrors [-h] [-f [NUMBER]] [-i [-d]] [-m METHOD]
  pacman-mirrors [-h] [-f [NUMBER]] [-i [-d]] [-m METHOD] [--status]
[-c COUNTRY [COUNTRY...] | [--geoip]]
[-c COUNTRY [COUNTRY...] | [--geoip] | [--continent]]
[-l] [-lc] [-q] [-s] [-t SECONDS] [-v] [-n]
[-l] [-lc] [-q] [-t SECONDS] [-v] [-n]
[--api] [-S/-B BRANCH] [-p PREFIX]
[--api] [-S/-B BRANCH] [-p PREFIX]
[-P PROTO [PROTO...]] [-R] [-U URL]
[-P PROTO [PROTO...]] [-R] [-U URL]
Line 130: Line 130:
                         Comma separated list of countries, from which mirrors
                         Comma separated list of countries, from which mirrors
                         will be used
                         will be used
   -g, --geoip           Get current country using geolocation
   --geoip               Get current country using geolocation
  --continent          Use continent from geolocation


API:
API:
   -a, --api            [-p PREFIX][-R][-S/-B|-G BRANCH][-P PROTO [PROTO ...]]
   -a, --api            [-p PREFIX][-R][-S/-B|-G BRANCH][-P PROTO [PROTO ...]]
   -S, -B, --set-branch {stable,testing,unstable}
   -S, -B, --set-branch {stable,stable-staging,testing,unstable}
                         API: Replace branch in configuration
                         API: Replace branch in configuration
   -p, --prefix PREFIX  API: Set prefix to : $mnt | /mnt/install
   -p, --prefix PREFIX  API: Set prefix to : $mnt | /mnt/install
Line 158: Line 159:
                         Maximum waiting time for server response
                         Maximum waiting time for server response
   -v, --version        Print the pacman-mirrors version
   -v, --version        Print the pacman-mirrors version
 
  --no-color
  --interval INTERVAL  Max. number of hours since last sync
  -g                    Create mirror list from active pool.
  --status              Status for the current mirror list.
  --use-async          Experimental async mirror test.
</pre>
</pre>
</div>
</div>
Anonymous user