Skip to content
Snippets Groups Projects
Commit 88de47bf authored by Frede H's avatar Frede H :speech_balloon:
Browse files

updated docs

parent 8d773549
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,10 @@ Make pacman-mirrors silent.
`-a`, `--api` [--prefix] [{--get-branch | --set-branch}]
- `--prefix` for pacman-mirrors file-handling eg. /mnt/install or $mnt
- `--get-branch` returns branch from config in prefix`config_file`. If used with `--branch` and you get the arguments value.
- `--set-branch` writes branch from `--branch` to prefix`config_file`
## pacman-mirrors.conf
```
## Branch Pacman should use (stable, testing, unstable)
......
......@@ -144,6 +144,11 @@ Show the version of pacman-mirrors.</p>
<p><code>--quiet</code>
Make pacman-mirrors silent.</p>
<p><code>-a</code>, <code>--api</code> [--prefix] [{--get-branch | --set-branch}]</p>
<ul>
<li><code>--prefix</code> for pacman-mirrors file-handling eg. /mnt/install or $mnt</li>
<li><code>--get-branch</code> returns branch from config in prefix<code>config_file</code>. If used with <code>--branch</code> and you get the arguments value.</li>
<li><code>--set-branch</code> writes branch from <code>--branch</code> to prefix<code>config_file</code></li>
</ul>
<h2 id="pacman-mirrorsconf">pacman-mirrors.conf</h2>
<pre><code>## Branch Pacman should use (stable, testing, unstable)
# Branch = stable
......@@ -210,5 +215,5 @@ Make pacman-mirrors silent.</p>
<!--
MkDocs version : 0.16.1
Build Date UTC : 2017-03-31 11:23:06
Build Date UTC : 2017-03-31 12:53:51
-->
......@@ -2,7 +2,7 @@
"docs": [
{
"location": "/",
"text": "Documentation of pacman-mirrors\n\n\nEnhanced pacman-mirrors for Manjaro Linux\n\n\nCommands\n\n\n-h\n, \n--help\n\nShow the help message.\n\n\n-g\n, \n--generate\n\nGenerate a new mirrorlist.\n\n\n-m [method]\n, \n--method [method]\n\nChoose the generation method:\n\n\n\n\nrank\n\n\nrandom.\n\n\n\n\n-b [branch]\n, \n--branch [branch]\n\nChoose the branch to use:\n\n\n\n\nstable\n\n\ntesting\n\n\nunstable\n\n\n\n\n-c [country]\n, \n--country [country]\n\nChoose the country to use:\n\n\n\n\nall\n\n\nFrance\n\n\nFrance, German, Spain\n\n\n\n\n--geoip\n\nDetect country by using geolocation.\n\n\n-d\n, \n--mirror_dir\n\nChange directory of mirrors to use.\n\n\n-f [n]\n, \n--fasttrack [n]\n\nGenerates an updated and responsive mirrorlist of [n] mirrors.\n\n\n-l\n, \n--list\n\nLists available mirror countries\n\n\n-o\n, \n--output\n\nChange path of the output file.\n\n\n-t\n, \n--timeout\n\nChange the server maximum waiting time.\n\n\n--no-update\n\nDon't generate mirrorlist.\n\n\n-i\n, \n--interactive\n\nLaunch a graphical tool to select mirrors to generate a custom mirrorlist.\n\n\n--default\n\nUsed in conjunction with \n-i/--interactive\n ignores custom mirrorfile,\n\nloading the default mirrorfile and executes the ranking/randomizing process\n\nafter the selection of mirrors.\n\n\n-v\n, \n--version\n\nShow the version of pacman-mirrors.\n\n\n--quiet\n\nMake pacman-mirrors silent.\n\n\n-a\n, \n--api\n [--prefix] [{--get-branch | --set-branch}]\n\n\npacman-mirrors.conf\n\n\n## Branch Pacman should use (stable, testing, unstable)\n# Branch = stable\n\n## Generation method\n## 1) rank - rank mirrors depending on their access time\n## 2) random - randomly generate the output mirrorlist\n# Method = rank\n\n## Specify to use only mirrors from specific a country.\n## Can add multiple countries separated by a comma (ex: Germany,France)\n## Empty means all\n# OnlyCountry =\n\n## Mirrors directory\n# MirrorlistsDir = /var/lib/pacman-mirrors\n\n## Output file\n# OutputMirrorlist = /etc/pacman.d/mirrorlist\n\n## When set to True prevents the regeneration of the mirrorlist if\n## pacman-mirrors is invoked with the --no-update argument.\n## Useful if you don't want the mirrorlist regenerated after a\n## pacman-mirrors package upgrade.\n# NoUpdate = False\n\n# SSL = False",
"text": "Documentation of pacman-mirrors\n\n\nEnhanced pacman-mirrors for Manjaro Linux\n\n\nCommands\n\n\n-h\n, \n--help\n\nShow the help message.\n\n\n-g\n, \n--generate\n\nGenerate a new mirrorlist.\n\n\n-m [method]\n, \n--method [method]\n\nChoose the generation method:\n\n\n\n\nrank\n\n\nrandom.\n\n\n\n\n-b [branch]\n, \n--branch [branch]\n\nChoose the branch to use:\n\n\n\n\nstable\n\n\ntesting\n\n\nunstable\n\n\n\n\n-c [country]\n, \n--country [country]\n\nChoose the country to use:\n\n\n\n\nall\n\n\nFrance\n\n\nFrance, German, Spain\n\n\n\n\n--geoip\n\nDetect country by using geolocation.\n\n\n-d\n, \n--mirror_dir\n\nChange directory of mirrors to use.\n\n\n-f [n]\n, \n--fasttrack [n]\n\nGenerates an updated and responsive mirrorlist of [n] mirrors.\n\n\n-l\n, \n--list\n\nLists available mirror countries\n\n\n-o\n, \n--output\n\nChange path of the output file.\n\n\n-t\n, \n--timeout\n\nChange the server maximum waiting time.\n\n\n--no-update\n\nDon't generate mirrorlist.\n\n\n-i\n, \n--interactive\n\nLaunch a graphical tool to select mirrors to generate a custom mirrorlist.\n\n\n--default\n\nUsed in conjunction with \n-i/--interactive\n ignores custom mirrorfile,\n\nloading the default mirrorfile and executes the ranking/randomizing process\n\nafter the selection of mirrors.\n\n\n-v\n, \n--version\n\nShow the version of pacman-mirrors.\n\n\n--quiet\n\nMake pacman-mirrors silent.\n\n\n-a\n, \n--api\n [--prefix] [{--get-branch | --set-branch}]\n\n\n\n\n--prefix\n for pacman-mirrors file-handling eg. /mnt/install or $mnt\n\n\n--get-branch\n returns branch from config in prefix\nconfig_file\n. If used with \n--branch\n and you get the arguments value.\n\n\n--set-branch\n writes branch from \n--branch\n to prefix\nconfig_file\n\n\n\n\npacman-mirrors.conf\n\n\n## Branch Pacman should use (stable, testing, unstable)\n# Branch = stable\n\n## Generation method\n## 1) rank - rank mirrors depending on their access time\n## 2) random - randomly generate the output mirrorlist\n# Method = rank\n\n## Specify to use only mirrors from specific a country.\n## Can add multiple countries separated by a comma (ex: Germany,France)\n## Empty means all\n# OnlyCountry =\n\n## Mirrors directory\n# MirrorlistsDir = /var/lib/pacman-mirrors\n\n## Output file\n# OutputMirrorlist = /etc/pacman.d/mirrorlist\n\n## When set to True prevents the regeneration of the mirrorlist if\n## pacman-mirrors is invoked with the --no-update argument.\n## Useful if you don't want the mirrorlist regenerated after a\n## pacman-mirrors package upgrade.\n# NoUpdate = False\n\n# SSL = False",
"title": "Home"
},
{
......@@ -12,7 +12,7 @@
},
{
"location": "/#commands",
"text": "-h , --help \nShow the help message. -g , --generate \nGenerate a new mirrorlist. -m [method] , --method [method] \nChoose the generation method: rank random. -b [branch] , --branch [branch] \nChoose the branch to use: stable testing unstable -c [country] , --country [country] \nChoose the country to use: all France France, German, Spain --geoip \nDetect country by using geolocation. -d , --mirror_dir \nChange directory of mirrors to use. -f [n] , --fasttrack [n] \nGenerates an updated and responsive mirrorlist of [n] mirrors. -l , --list \nLists available mirror countries -o , --output \nChange path of the output file. -t , --timeout \nChange the server maximum waiting time. --no-update \nDon't generate mirrorlist. -i , --interactive \nLaunch a graphical tool to select mirrors to generate a custom mirrorlist. --default \nUsed in conjunction with -i/--interactive ignores custom mirrorfile, \nloading the default mirrorfile and executes the ranking/randomizing process \nafter the selection of mirrors. -v , --version \nShow the version of pacman-mirrors. --quiet \nMake pacman-mirrors silent. -a , --api [--prefix] [{--get-branch | --set-branch}]",
"text": "-h , --help \nShow the help message. -g , --generate \nGenerate a new mirrorlist. -m [method] , --method [method] \nChoose the generation method: rank random. -b [branch] , --branch [branch] \nChoose the branch to use: stable testing unstable -c [country] , --country [country] \nChoose the country to use: all France France, German, Spain --geoip \nDetect country by using geolocation. -d , --mirror_dir \nChange directory of mirrors to use. -f [n] , --fasttrack [n] \nGenerates an updated and responsive mirrorlist of [n] mirrors. -l , --list \nLists available mirror countries -o , --output \nChange path of the output file. -t , --timeout \nChange the server maximum waiting time. --no-update \nDon't generate mirrorlist. -i , --interactive \nLaunch a graphical tool to select mirrors to generate a custom mirrorlist. --default \nUsed in conjunction with -i/--interactive ignores custom mirrorfile, \nloading the default mirrorfile and executes the ranking/randomizing process \nafter the selection of mirrors. -v , --version \nShow the version of pacman-mirrors. --quiet \nMake pacman-mirrors silent. -a , --api [--prefix] [{--get-branch | --set-branch}] --prefix for pacman-mirrors file-handling eg. /mnt/install or $mnt --get-branch returns branch from config in prefix config_file . If used with --branch and you get the arguments value. --set-branch writes branch from --branch to prefix config_file",
"title": "Commands"
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment