Difference between revisions of "Pacman-mirrors"
Views
Actions
Namespaces
Variants
Tools
→Available arguments
imported>Fhdk |
imported>Fhdk |
||
Line 23: | Line 23: | ||
=== Available arguments === | === Available arguments === | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
All arguments can be viewed by unfolding this block | All available arguments can be viewed by unfolding this block | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<pre> | <pre> | ||
Line 32: | Line 32: | ||
-b, --branch {stable,testing,unstable} | -b, --branch {stable,testing,unstable} | ||
Branch name | Branch name | ||
-c, --country COUNTRY | -c, --country COUNTRY [COUNTRY ...] | ||
Comma separated list of countries, | Comma separated list of countries, from which mirrors | ||
will be used | |||
--geoip Get current country using geolocation. | --geoip Get current country using geolocation. Ignored if | ||
'-c/--country' is supplied | |||
-d, --mirror_dir PATH | -d, --mirror_dir PATH | ||
Mirrors list path | Mirrors list path | ||
Line 42: | Line 42: | ||
-t, --timeout SECONDS | -t, --timeout SECONDS | ||
Maximum waiting time for server response | Maximum waiting time for server response | ||
--no-update Don't generate mirrorlist if | --no-update Don't generate mirrorlist if 'NoUpdate = True' in the | ||
configuration file | |||
-i, --interactive Generate custom mirrorlist | -i, --interactive Generate custom mirrorlist | ||
-v, --version Print the pacman-mirrors version | -v, --version Print the pacman-mirrors version | ||
-q, --quiet Quiet mode - less verbose output | -q, --quiet Quiet mode - less verbose output | ||
-f, --fasttrack DIGIT | -f, --fasttrack DIGIT | ||
A quick mirrorlist. Overrides - | A quick mirrorlist. Overrides -c -i -m --geoip | ||
-l, --list List all available countries | -l, --list List all available countries | ||
--default | --default Load default mirror file | ||
</pre> | |||
Available from version 4.1 | |||
<pre> | |||
API: | |||
-a, --api [--prefix] [--protocols] [--set-branch|--get-branch | |||
{-b <branch>}] | |||
--get-branch get-branch | |||
--set-branch set-branch | |||
--prefix PREFIX [--prefix {'$mnt'|'/some/path'}] | |||
--proto PROTO [PROTO ...] | |||
[--proto {all|http https ftp ftps}] | |||
-n, --no-mirrorlist no mirrorlist | |||
</pre> | </pre> | ||
</div> | </div> |