man pages: document -b, bump date - stagit-gopher - A git gopher frontend. (mir… | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 40b67c816a5c5042840c382feac3ff02bead8b7e | |
parent 87e87aba28db7a54000be6048081d7b316eca444 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 23 Jun 2017 13:00:22 +0200 | |
man pages: document -b, bump date | |
Diffstat: | |
M stagit-gopher-index.1 | 10 +++++++++- | |
M stagit-gopher.1 | 6 +++++- | |
2 files changed, 14 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/stagit-gopher-index.1 b/stagit-gopher-index.1 | |
@@ -1,4 +1,4 @@ | |
-.Dd December 26, 2015 | |
+.Dd Jun 23, 2017 | |
.Dt STAGIT-GOPHER-INDEX 1 | |
.Os | |
.Sh NAME | |
@@ -6,6 +6,7 @@ | |
.Nd static git Gopher index generator | |
.Sh SYNOPSIS | |
.Nm | |
+.Op Fl B Ar baseprefix | |
.Op Ar repodir... | |
.Sh DESCRIPTION | |
.Nm | |
@@ -15,6 +16,13 @@ The repos in the index are in the same order as the arguments | |
.Ar repodir | |
specified. | |
.Pp | |
+The options are as follows: | |
+.Bl -tag -width Ds | |
+.It Fl b Ar baseprefix | |
+Use base prefix as the root. | |
+By default this is "/". | |
+.El | |
+.Pp | |
The basename of the directory is used as the repository name. | |
The suffix ".git" is removed from the basename, this suffix is commonly used | |
for "bare" repos. | |
diff --git a/stagit-gopher.1 b/stagit-gopher.1 | |
@@ -1,4 +1,4 @@ | |
-.Dd May 1, 2016 | |
+.Dd Jun 23, 2017 | |
.Dt STAGIT-GOPHER 1 | |
.Os | |
.Sh NAME | |
@@ -6,6 +6,7 @@ | |
.Nd static git Gopher index generator | |
.Sh SYNOPSIS | |
.Nm | |
+.Op Fl b Ar baseprefix | |
.Op Fl c Ar cachefile | |
.Ar repodir | |
.Sh DESCRIPTION | |
@@ -16,6 +17,9 @@ to the current directory. | |
.Pp | |
The options are as follows: | |
.Bl -tag -width Ds | |
+.It Fl b Ar baseprefix | |
+Use base prefix as the root. | |
+By default this is "/". | |
.It Fl c Ar cachefile | |
Cache the entries of the log index up to the point of | |
the last commit. |