From c8dcfebd2293279eb8aefeffa11b8a35a233cf2e Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 6 Jan 2024 18:33:48 +0100 Subject: Added -- -d --- pkgrel.1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'pkgrel.1') 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 -- cgit v1.1