summaryrefslogtreecommitdiff
path: root/pkgrel.1
diff options
context:
space:
mode:
Diffstat (limited to 'pkgrel.1')
-rw-r--r--pkgrel.112
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgrel.1 b/pkgrel.1
index 5d1965d..1a5d912 100644
--- a/pkgrel.1
+++ b/pkgrel.1
@@ -1,12 +1,13 @@
.TH pkgrel 1 "2024-01-06"
.SH NAME
-pkgrel \- print out pkgrel number according to git repository history
+pkgrel - print out pkgrel number according to git repository history
.SH SYNOPSIS
.B pkgrel
.RI [ prefix ]
.br
.B pkgrel
-.RB [ \-d ]
+.RB [ \-\- ]
+.B \-d
.SH DESCRIPTION
This program will check the history of the
.I PKGBUILD
@@ -28,7 +29,12 @@ option sets
.I prefix
to a handy constant
.BR pkgrel=
-making the final output take a form of a shell variable assignment.
+making the final output take a form of a shell variable assignment. Special option
+.B \-\-
+allows to use literal
+.B \-d
+as
+.IR prefix .
.SH EXIT STATUS
0 will be returned on successful run and the pkgrel number will be printed to standard output.
.PP