summaryrefslogtreecommitdiffstats
path: root/manpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'manpage.c')
-rw-r--r--manpage.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/manpage.c b/manpage.c
index 28d1c3d8..27ffd392 100644
--- a/manpage.c
+++ b/manpage.c
@@ -87,10 +87,11 @@ main(int argc, char *argv[])
if (0 == argc)
goto usage;
- search.deftype = TYPE_Nm | TYPE_Nd;
+ search.outkey = "Nd";
+ search.argmode = ARG_EXPR;
manpath_parse(&paths, conf_file, defpaths, auxpaths);
- ch = mansearch(&search, &paths, argc, argv, "Nd", &res, &sz);
+ ch = mansearch(&search, &paths, argc, argv, &res, &sz);
manpath_free(&paths);
if (0 == ch)