summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-10 00:52:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-10 00:52:50 +0000
commitc8699c44c174a4249e64ba5213178225a37b9ec7 (patch)
tree16a42eb0db36ceb42911db3a2397e28409ebb14a /cgi.c
parent0be9458ccf4011af3bd805b6e703255d721bab34 (diff)
downloadmandoc-c8699c44c174a4249e64ba5213178225a37b9ec7.tar.gz
Link to the new man.cgi(8) manual, now that we have it! :-)
While here, s/satisfy/match/ when talking about queries.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index e4b56c07..a24b3af5 100644
--- a/cgi.c
+++ b/cgi.c
@@ -367,7 +367,7 @@ resp_searchform(const struct req *req)
"<FIELDSET>\n"
"<LEGEND>Search Parameters</LEGEND>\n"
"<INPUT TYPE=\"submit\" "
- " VALUE=\"Search\"> for manuals satisfying \n"
+ " VALUE=\"Search\"> for manuals matching \n"
"<INPUT TYPE=\"text\" NAME=\"expr\" VALUE=\"",
scriptname);
html_print(req->q.expr ? req->q.expr : "");
@@ -414,7 +414,10 @@ resp_index(const struct req *req)
"</H1>");
resp_searchform(req);
puts("<P>\n"
- "The <A HREF=\"search?expr=Nm~^apropos$&amp;sec=1\">"
+ "This web interface is documented in the "
+ "<A HREF=\"search?expr=Nm~^man\\.cgi$&amp;sec=8\">"
+ "man.cgi</A> manual, and the "
+ "<A HREF=\"search?expr=Nm~^apropos$&amp;sec=1\">"
"apropos</A> manual explains the query syntax.\n"
"</P>");
resp_end_html();