summaryrefslogtreecommitdiff
path: root/doc/man/diffpkg.1.asciidoc
blob: ec89f89780375c87deba771af14bd47aee805dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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

Output Options
--------------

*--color*[='WHEN']::
	Color output; 'WHEN' is `'never'`, `'always'`, or `'auto'`; Plain *--color* means *--color='auto'*

*-u, -U, --unified*::
	Output 3 lines of unified context

*-y, --side-by-side*::
	Output in two columns

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[]