aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfa1118391546bb5404249b79fd20ebc72f5e4bab (patch)
tree9cc8cd9e133b632e3ddd8acbbbae71ceed69aff0 /cgi.c
parent92c7c7720fb78f534c1d358932f4a30af0b7131a (diff)
downloadmandoc-fa1118391546bb5404249b79fd20ebc72f5e4bab.tar.gz
mandoc-fa1118391546bb5404249b79fd20ebc72f5e4bab.tar.zst
mandoc-fa1118391546bb5404249b79fd20ebc72f5e4bab.zip
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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cgi.c b/cgi.c
index e20ad201..284e4883 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.60 2014/07/09 17:03:07 schwarze Exp $ */
+/* $Id: cgi.c,v 1.61 2014/07/10 00:52:50 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@usta.de>
@@ -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();