summaryrefslogtreecommitdiff
path: root/doc/pacman.8.txt
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-07 20:59:51 -0600
committerDan McGee <dan@archlinux.org>2011-01-22 10:02:15 -0600
commit01403f423a9bace8b43d45a0dfcea5d4f1002cc8 (patch)
treec608878e84c995bda130cd365a45d1e0bd9b55cb /doc/pacman.8.txt
parentb8ab96a270caa5d589c44c62d5664db156d94af7 (diff)
downloadpacman-01403f423a9bace8b43d45a0dfcea5d4f1002cc8.tar.xz
doc: add a vercmp manpage
This includes info on version comparison that is very similar to the stuff in the pacman manpage, but also a few vercmp examples, the return values, and other fun stuff. Also update the version comparison stuff in the pacman manpage. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/pacman.8.txt')
-rw-r--r--doc/pacman.8.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt
index 2b47a88c..8f91e408 100644
--- a/doc/pacman.8.txt
+++ b/doc/pacman.8.txt
@@ -80,8 +80,10 @@ to determine which packages need upgrading. This behavior operates as follows:
Numeric:
1 < 1.0 < 1.1 < 1.1.1 < 1.2 < 2.0 < 3.0.0
+
-Additionally, packages can have an 'epoch' value defined that will override any
-version comparison and force an upgrade.
+Additionally, version strings can have an 'epoch' value defined that will
+overrule any version comparison (unless the epoch values are equal). This is
+specified in an `epoch:version-rel` format. For example, `2:1.0-1` is always
+greater than `1:3.6-1`.
*-T, \--deptest*::
Check dependencies; this is useful in scripts such as makepkg to check