From eb2f9c78a4698ccc2d09e5021fbf7155e49f561d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 2 Nov 2019 20:48:40 +0100 Subject: Add a `--version` flag --- doc/pdf-urls.1 | 6 ++++++ doc/pdf-urls.1.txt | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/pdf-urls.1 b/doc/pdf-urls.1 index e58ad01..3e90edc 100644 --- a/doc/pdf-urls.1 +++ b/doc/pdf-urls.1 @@ -35,6 +35,12 @@ pdf-urls \- Extract URLs from a PDF file .SH "DESCRIPTION" .sp Extract all URLs from a PDF file and print them, one per line, to standard output\&. +.SH "OPTIONS" +.PP +\-v, \-\-version +.RS 4 +Print the program version\&. +.RE .SH "EXAMPLES" .sp The following extracts URLs from the document \fIfile\&.pdf\fR and passes them to \fBurlview\fR to be opened in a browser: diff --git a/doc/pdf-urls.1.txt b/doc/pdf-urls.1.txt index 18ef69e..ddc2048 100644 --- a/doc/pdf-urls.1.txt +++ b/doc/pdf-urls.1.txt @@ -14,6 +14,11 @@ DESCRIPTION Extract all URLs from a PDF file and print them, one per line, to standard output. +OPTIONS +------- +-v, --version:: + Print the program version. + EXAMPLES -------- The following extracts URLs from the document 'file.pdf' and passes them -- cgit v1.2.3