summaryrefslogtreecommitdiff
path: root/doc/man/diffpkg.1.asciidoc
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-06-20 01:15:34 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-06-22 01:05:03 +0200
commit626aecb4724fe5adc65f755d142804306fadb307 (patch)
tree0b543c45c98a45c181293a4f10120873c82b81ea /doc/man/diffpkg.1.asciidoc
parent208824456410123e6ac480cdfe554f14f211047c (diff)
downloaddevtools-626aecb4724fe5adc65f755d142804306fadb307.tar.xz
make: split out man page files into doc/man folder
Diffstat (limited to 'doc/man/diffpkg.1.asciidoc')
-rw-r--r--doc/man/diffpkg.1.asciidoc57
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/man/diffpkg.1.asciidoc b/doc/man/diffpkg.1.asciidoc
new file mode 100644
index 0000000..48722a9
--- /dev/null
+++ b/doc/man/diffpkg.1.asciidoc
@@ -0,0 +1,57 @@
+diffpkg(1)
+===========
+
+Name
+----
+diffpkg - Compare package files using different modes.
+
+Synopsis
+--------
+diffpkg [OPTIONS] [MODES] [FILE|PKGNAME...]
+
+Description
+-----------
+
+Searches for a locally built package corresponding to the PKGBUILD, and
+downloads the last version of that package from the Pacman repositories.
+It then compares the package archives using different modes while using
+simple tar content list by default.
+
+When given one package, use it to diff against the locally built one.
+When given two packages, diff both packages against each other.
+
+In either case, a package name will be converted to a filename from the
+cache, and diffpkg will proceed as though this filename was initially
+specified.
+
+Options
+-------
+
+*-M, --makepkg-config*::
+ Set an alternate makepkg configuration file
+
+*-v, --verbose*::
+ Provide more detailed/unfiltered output
+
+*-h, --help*::
+ Show a help text
+
+Modes
+-----
+
+*-l, --list*::
+ Activate tar content list diff mode (default)
+
+*-d, --diffoscope*::
+ Activate diffoscope diff mode
+
+*-p, --pkginfo*::
+ Activate .PKGINFO diff mode
+
+*-b, --buildinfo*::
+ Activate .BUILDINFO diff mode
+
+See Also
+--------
+
+include::include/footer.asciidoc[]