[pacman-dev,3/3] vercmp: fix incorrect info in the manpage

Message ID 20171217192824.26777-3-eschwartz@archlinux.org
State Accepted, archived
Headers show
Series [pacman-dev,1/3] vercmp: fail when the wrong number of arguments are provided | expand

Commit Message

Eli Schwartz Dec. 17, 2017, 7:28 p.m. UTC
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
---
 doc/vercmp.8.txt | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Patch

diff --git a/doc/vercmp.8.txt b/doc/vercmp.8.txt
index 5316b3cb..18819953 100644
--- a/doc/vercmp.8.txt
+++ b/doc/vercmp.8.txt
@@ -11,7 +11,7 @@  vercmp - version comparison utility
 
 Synopsis
 --------
-'vercmp' <version1> <version2>
+'vercmp' [-h] [--help] <version1> <version2>
 
 
 Description
@@ -44,8 +44,9 @@  mainly for supporting versioned dependencies that do not include the 'pkgrel'.
 Options
 -------
 *-h, \--help*::
-	Display syntax for the given operation. If no operation was supplied,
-	then the general syntax is shown.
+
+	Display summary of the available return codes. Must be the first option
+	specified.
 
 
 Examples
@@ -67,11 +68,6 @@  Examples
   -1
 
 
-Configuration
--------------
-There is none.
-
-
 See Also
 --------
 linkman:pacman[8], linkman:makepkg[8], linkman:libalpm[3]