summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-06 23:37:32 +0200
committerDan McGee <dan@archlinux.org>2012-04-20 18:00:06 -0500
commit839953f1113c70d13560bfd05c5e52139c7f562f (patch)
tree519cc4d64a3a3b0bb69f24ed65124c56fac8e57d /doc
parent70d425c1d341e5b3d36e612560f922dbd3b20e63 (diff)
downloadpacman-839953f1113c70d13560bfd05c5e52139c7f562f.tar.xz
pkgdelta: implement requirments for delta generation
Big deltas or deltas for very small packages are not needed so we should check that and not generate any. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/pkgdelta.8.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/pkgdelta.8.txt b/doc/pkgdelta.8.txt
index 3804c5d9..5913dba6 100644
--- a/doc/pkgdelta.8.txt
+++ b/doc/pkgdelta.8.txt
@@ -11,7 +11,7 @@ pkgdelta - package delta generation utility
Synopsis
--------
-'pkgdelta' [-q] <package1> <package2>
+'pkgdelta' [options] <package1> <package2>
Description
@@ -27,6 +27,16 @@ significantly.
Options
-------
+*--max-delta-size <ratio>*::
+ Only create delta files if the delta is smaller than ratio * package_size.
+ Possible values: 0.0 to 2.0.
+ Recommended values: 0.2 to 0.9.
+ Default value: 0.7
+
+*--min-pkg-size <size>*::
+ Minimal size of the package file in bytes to be considered for delta creation.
+ Default value: 1048576 bytes = 1MiB
+
*-q, \--quiet*::
Be quiet. Do not output anything but warnings and errors.