summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-12-21 10:25:41 +0100
committerAlexander Larsson <alexl@redhat.com>2015-12-21 10:28:15 +0100
commitea543c8f93c24fb628efe3884c8e421176fdb02e (patch)
treecfb9191f4a2fd1fabff90cd4eccb6352e4f64e14 /doc
parent22c1229ea8977e81a5f30f91d090bf4e0922caaa (diff)
downloadxdg-app-ea543c8f93c24fb628efe3884c8e421176fdb02e.tar.gz
lib/app: Add support for repo priorities
New repos default to prio 1, bundle repos default to prio 0. Listing repos returns in sorted order, with add order as secondary sort key.
Diffstat (limited to 'doc')
-rw-r--r--doc/xdg-app-add-remote.xml9
-rw-r--r--doc/xdg-app-list-remotes.xml2
-rw-r--r--doc/xdg-app-modify-remote.xml9
3 files changed, 19 insertions, 1 deletions
diff --git a/doc/xdg-app-add-remote.xml b/doc/xdg-app-add-remote.xml
index 3d45b44..bb7559e 100644
--- a/doc/xdg-app-add-remote.xml
+++ b/doc/xdg-app-add-remote.xml
@@ -92,6 +92,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--prio=PRIO</option></term>
+
+ <listitem><para>
+ Set the priority for the remote. Default is 1, higher is more prioritized. This is
+ mainly used for graphical installation tools.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--no-enumerate</option></term>
<listitem><para>
diff --git a/doc/xdg-app-list-remotes.xml b/doc/xdg-app-list-remotes.xml
index f41db2f..88ac32f 100644
--- a/doc/xdg-app-list-remotes.xml
+++ b/doc/xdg-app-list-remotes.xml
@@ -39,7 +39,7 @@
<title>Description</title>
<para>
- Lists the known remote repositories.
+ Lists the known remote repositories, in priority order.
</para>
<para>
By default, both per-user and system-wide installations
diff --git a/doc/xdg-app-modify-remote.xml b/doc/xdg-app-modify-remote.xml
index c3dc038..612133e 100644
--- a/doc/xdg-app-modify-remote.xml
+++ b/doc/xdg-app-modify-remote.xml
@@ -98,6 +98,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--prio=PRIO</option></term>
+
+ <listitem><para>
+ Set the priority for the remote. Default is 1, higher is more prioritized. This is
+ mainly used for graphical installation tools.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--no-enumerate</option></term>
<listitem><para>