Fix mandoc HTML rendering for command aliases Replace hand-rolled parentheses with the proper mdoc(7) macro, otherwise the closing ")" ends up inside the command description. Reported by Josh Rickmar, thanks!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
diff --git a/got/got.1 b/got/got.1
index 750f06d..2fae628 100644
--- a/got/got.1
+++ b/got/got.1
@@ -75,7 +75,7 @@ command must be used to populate the empty repository before
can be used.
.Tg im
.It Cm import Oo Fl b Ar branch Oc Oo Fl m Ar message Oc Oo Fl r Ar repository-path Oc Oo Fl I Ar pattern Oc Ar directory
-.Dl (alias: Cm im )
+.Dl Pq alias: Cm im
Create an initial commit in a repository from the file hierarchy
within the specified
.Ar directory .
@@ -136,7 +136,7 @@ follows the globbing rules documented in
.El
.Tg cl
.It Cm clone Oo Fl a Oc Oo Fl b Ar branch Oc Oo Fl l Oc Oo Fl m Oc Oo Fl q Oc Oo Fl v Oc Oo Fl R Ar reference Oc Ar repository-URL Op Ar directory
-.Dl (alias: Cm cl )
+.Dl Pq alias: Cm cl
Clone a Git repository at the specified
.Ar repository-URL
into the specified
@@ -319,7 +319,7 @@ namespace.
.El
.Tg fe
.It Cm fetch Oo Fl a Oc Oo Fl b Ar branch Oc Oo Fl d Oc Oo Fl l Oc Oo Fl r Ar repository-path Oc Oo Fl t Oc Oo Fl q Oc Oo Fl v Oc Oo Fl R Ar reference Oc Oo Fl X Oc Op Ar remote-repository
-.Dl (alias: Cm fe )
+.Dl Pq alias: Cm fe
Fetch new changes from a remote repository.
If no
.Ar remote-repository
@@ -492,7 +492,7 @@ and Git's garbage collector.
.El
.Tg co
.It Cm checkout Oo Fl E Oc Oo Fl b Ar branch Oc Oo Fl c Ar commit Oc Oo Fl p Ar path-prefix Oc Oo Fl q Oc Ar repository-path Op Ar work-tree-path
-.Dl (alias: Cm co )
+.Dl Pq alias: Cm co
Copy files from a repository into a new work tree.
Show the status of each affected file, using the following status codes:
.Bl -column YXZ description
@@ -557,7 +557,7 @@ Silence progress output.
.El
.Tg up
.It Cm update Oo Fl b Ar branch Oc Oo Fl c Ar commit Oc Oo Fl q Oc Op Ar path ...
-.Dl (alias: Cm up )
+.Dl Pq alias: Cm up
Update an existing work tree to a different
.Ar commit .
Change existing files in the work tree as necessary to match file contents
@@ -655,7 +655,7 @@ Silence progress output.
.El
.Tg st
.It Cm status Oo Fl I Oc Oo Fl s Ar status-codes Oc Oo Fl S Ar status-codes Oc Op Ar path ...
-.Dl (alias: Cm st )
+.Dl Pq alias: Cm st
Show the current modification status of files in a work tree,
using the following status codes:
.Bl -column YXZ description
@@ -840,7 +840,7 @@ is never traversed.
.El
.Tg di
.It Cm diff Oo Fl a Oc Oo Fl c Ar commit Oc Oo Fl C Ar number Oc Oo Fl r Ar repository-path Oc Oo Fl s Oc Oo Fl P Oc Oo Fl w Oc Op Ar object1 Ar object2 | Ar path ...
-.Dl (alias: Cm di )
+.Dl Pq alias: Cm di
When invoked within a work tree without any arguments, display all
local changes in the work tree.
If one or more
@@ -919,7 +919,7 @@ Ignore whitespace-only changes.
.El
.Tg bl
.It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path
-.Dl (alias: Cm bl )
+.Dl Pq alias: Cm bl
Display line-by-line history of a file at the specified path.
.Pp
The options for
@@ -943,7 +943,7 @@ work tree, use the repository path associated with this work tree.
.El
.Tg tr
.It Cm tree Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Oo Fl i Oc Oo Fl R Oc Op Ar path
-.Dl (alias: Cm tr )
+.Dl Pq alias: Cm tr
Display a listing of files and directories at the specified
directory path in the repository.
Entries shown in this listing may carry one of the following trailing
@@ -1054,7 +1054,7 @@ Cannot be used together with any other options except
.El
.Tg br
.It Cm branch Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Oo Fl l Oc Oo Fl d Ar name Oc Oo Fl n Oc Op Ar name
-.Dl (alias: Cm br )
+.Dl Pq alias: Cm br
Create, list, or delete branches.
.Pp
Local branches are managed via references which live in the
@@ -1231,7 +1231,7 @@ ignore pattern.
.El
.Tg rm
.It Cm remove Oo Fl f Oc Oo Fl k Oc Oo Fl R Oc Oo Fl s Ar status-codes Oc Ar path ...
-.Dl (alias: Cm rm )
+.Dl Pq alias: Cm rm
Remove versioned files from a work tree and schedule them for deletion
from the repository in the next commit.
.Pp
@@ -1265,7 +1265,7 @@ option)
.El
.Tg rv
.It Cm revert Oo Fl p Oc Oo Fl F Ar response-script Oc Oo Fl R Oc Ar path ...
-.Dl (alias: Cm rv )
+.Dl Pq alias: Cm rv
Revert any local changes in files at the specified paths in a work tree.
File contents will be overwritten with those contained in the
work tree's base commit.
@@ -1316,7 +1316,7 @@ is a directory.
.El
.Tg ci
.It Cm commit Oo Fl F Ar path Oc Oo Fl m Ar message Oc Oo Fl N Oc Oo Fl S Oc Op Ar path ...
-.Dl (alias: Cm ci )
+.Dl Pq alias: Cm ci
Create a new commit in the repository from changes in a work tree
and use this commit as the new base commit for the work tree.
If no
@@ -1432,7 +1432,7 @@ must be used first in order to merge local changes with changes made
in the repository.
.Tg se
.It Cm send Oo Fl a Oc Oo Fl b Ar branch Oc Oo Fl d Ar branch Oc Oo Fl f Oc Oo Fl r Ar repository-path Oc Oo Fl t Ar tag Oc Oo Fl T Oc Oo Fl q Oc Oo Fl v Oc Op Ar remote-repository
-.Dl (alias: Cm se )
+.Dl Pq alias: Cm se
Send new changes to a remote repository.
If no
.Ar remote-repository
@@ -1619,7 +1619,7 @@ The maximum is 3.
.El
.Tg cy
.It Cm cherrypick Ar commit
-.Dl (alias: Cm cy )
+.Dl Pq alias: Cm cy
Merge changes from a single
.Ar commit
into the work tree.
@@ -1662,7 +1662,7 @@ If any relevant files already contain merge conflicts, these
conflicts must be resolved first.
.Tg bo
.It Cm backout Ar commit
-.Dl (alias: Cm bo )
+.Dl Pq alias: Cm bo
Reverse-merge changes from a single
.Ar commit
into the work tree.
@@ -1705,7 +1705,7 @@ If any relevant files already contain merge conflicts, these
conflicts must be resolved first.
.Tg rb
.It Cm rebase Oo Fl a Oc Oo Fl c Oc Oo Fl l Oc Oo Fl X Oc Op Ar branch
-.Dl (alias: Cm rb )
+.Dl Pq alias: Cm rb
Rebase commits on the specified
.Ar branch
onto the tip of the current branch of the work tree.
@@ -1894,7 +1894,7 @@ None of the other options can be used together with
.El
.Tg he
.It Cm histedit Oo Fl a Oc Oo Fl c Oc Oo Fl e Oc Oo Fl f Oc Oo Fl F Ar histedit-script Oc Oo Fl m Oc Oo Fl l Oc Oo Fl X Oc Op Ar branch
-.Dl (alias: Cm he )
+.Dl Pq alias: Cm he
Edit commit history between the work tree's current base commit and
the tip commit of the work tree's current branch.
.Pp
@@ -2131,7 +2131,7 @@ None of the other options can be used together with
.El
.Tg ig
.It Cm integrate Ar branch
-.Dl (alias: Cm ig )
+.Dl Pq alias: Cm ig
Integrate the specified
.Ar branch
into the work tree's current branch.
@@ -2182,7 +2182,7 @@ or reverted with
.Cm got revert .
.Tg mg
.It Cm merge Oo Fl a Oc Oo Fl c Oc Oo Fl n Oc Op Ar branch
-.Dl (alias: Cm mg )
+.Dl Pq alias: Cm mg
Create a merge commit based on the current branch of the work tree and
the specified
.Ar branch .
@@ -2308,7 +2308,7 @@ Alternatively, the merge may be aborted with
.El
.Tg sg
.It Cm stage Oo Fl l Oc Oo Fl p Oc Oo Fl F Ar response-script Oc Oo Fl S Oc Op Ar path ...
-.Dl (alias: Cm sg )
+.Dl Pq alias: Cm sg
Stage local changes for inclusion in the next commit.
If no
.Ar path
@@ -2424,7 +2424,7 @@ before it can be updated with
and may then be staged again if necessary.
.Tg ug
.It Cm unstage Oo Fl p Oc Oo Fl F Ar response-script Oc Op Ar path ...
-.Dl (alias: Cm ug )
+.Dl Pq alias: Cm ug
Merge staged changes back into the work tree and put affected paths
back into non-staged status.
If no
diff --git a/gotadmin/gotadmin.1 b/gotadmin/gotadmin.1
index 6dc6c8a..95a7aa4 100644
--- a/gotadmin/gotadmin.1
+++ b/gotadmin/gotadmin.1
@@ -119,7 +119,7 @@ be excluded.
.El
.Tg ix
.It Cm indexpack Ar packfile-path
-.Dl (alias: Cm ix )
+.Dl Pq alias: Cm ix
Create a pack index for the pack file at
.Ar packfile-path .
.Pp
@@ -146,7 +146,7 @@ that it ends in
.Pa .idx .
.Tg ls
.It Cm listpack Oo Fl h Oc Oo Fl s Oc Ar packfile-path
-.Dl (alias: Cm ls )
+.Dl Pq alias: Cm ls
List the contents of the pack file at
.Ar packfile-path .
.Pp
@@ -180,7 +180,7 @@ and a break-down of the number of objects per object type.
.El
.Tg cl
.It Cm cleanup Oo Fl a Oc Oo Fl p Oc Oo Fl n Oc Oo Fl r Ar repository-path Oc Oo Fl q Oc
-.Dl (alias: Cm cl )
+.Dl Pq alias: Cm cl
Purge unreferenced loose objects from the repository and display
the amount of disk space which has been freed as a result.
.Pp