aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-03-17 22:06:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-03-17 22:06:44 +0000
commit6597203ef98e0033fb24bd01962f9b0b039f48ba (patch)
tree3269cd1dd1288e725918532eea06431095d3ddf2
parentd82959f755ea1daa997c705954fe26f139ee2b64 (diff)
downloadmandoc-6597203ef98e0033fb24bd01962f9b0b039f48ba.tar.gz
mandoc-6597203ef98e0033fb24bd01962f9b0b039f48ba.tar.zst
mandoc-6597203ef98e0033fb24bd01962f9b0b039f48ba.zip
make man(1) mode the default rather than apropos(1) mode
-rw-r--r--cgi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index cb041b68..ddb318d6 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,7 +1,7 @@
-/* $Id: cgi.c,v 1.117 2016/03/17 21:22:59 schwarze Exp $ */
+/* $Id: cgi.c,v 1.118 2016/03/17 22:06:44 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@usta.de>
+ * Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@usta.de>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -1032,6 +1032,7 @@ main(void)
}
memset(&req, 0, sizeof(struct req));
+ req.q.equal = 1;
pathgen(&req);
/* Parse the path info and the query string. */