From c339536a37e9d3211b4732d7996b7a3f89289ba7 Mon Sep 17 00:00:00 2001
From: Levente Polyak <anthraxx@archlinux.org>
Date: Tue, 26 Apr 2022 22:31:56 +0200
Subject: diffpkg: support multiple diff modes to compare with

This adds support for the following diff modes:

- content list (default)
- diffoscope
- .PKGINFO diff
- .BUILDINFO diff
---
 doc/diffpkg.1.asciidoc | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

(limited to 'doc/diffpkg.1.asciidoc')

diff --git a/doc/diffpkg.1.asciidoc b/doc/diffpkg.1.asciidoc
index fe11872..e95fa43 100644
--- a/doc/diffpkg.1.asciidoc
+++ b/doc/diffpkg.1.asciidoc
@@ -3,31 +3,48 @@ diffpkg(1)
 
 Name
 ----
-diffpkg - Diffoscope the current build package with the repository version
+diffpkg - Compare package files using different modes.
 
 Synopsis
 --------
-diffpkg
+diffpkg [OPTIONS] [MODES]
 
 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 them with diffoscope.
+It then compares them using different modes while using simple tar
+content list by default.
 
 Options
 -------
 
 *-M, --makepkg-config*::
-	Set an alternate makepkg configuration file.
+	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
 --------
 
-linkman:find-libprovides[1]
-
 include::footer.asciidoc[]
-- 
cgit v1.2.3-70-g09d2

