From 6ca7be8f333b28c465a7b7d961bddcb31d59d72f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 12 Dec 2011 02:00:49 +0000 Subject: implement -C (alternative config file) for apropos(1) and mandocdb(8), including various tweaks to the whatis(8) manual; ok kristaps@ --- catman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catman.c') diff --git a/catman.c b/catman.c index 5b38f214..031beb84 100644 --- a/catman.c +++ b/catman.c @@ -1,4 +1,4 @@ -/* $Id: catman.c,v 1.4 2011/12/08 00:20:52 kristaps Exp $ */ +/* $Id: catman.c,v 1.5 2011/12/12 02:00:49 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -112,7 +112,7 @@ main(int argc, char *argv[]) } memset(&dirs, 0, sizeof(struct manpaths)); - manpath_parse(&dirs, base, aux); + manpath_parse(&dirs, NULL, base, aux); ch = manup(&dirs, buf); manpath_free(&dirs); return(ch ? EXIT_SUCCESS : EXIT_FAILURE); -- cgit v1.2.3-56-ge451