Blob Blame History Raw
From 2b6858ce7a82ed01ac02cb1ddb3afc98055ab123 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
Date: Thu, 13 Nov 2014 10:59:59 +0100
Subject: [PATCH] src/man.c (do_extern): Pass the -l option through

---
 src/man.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/man.c b/src/man.c
index 5a72e1f..e65935a 100644
--- a/src/man.c
+++ b/src/man.c
@@ -740,6 +740,8 @@ static void do_extern (int argc, char *argv[])
 	/* Please keep these in the same order as they are in whatis.c. */
 	if (debug_level)
 		pipecmd_arg (cmd, "-d");
+	if (local_man_file) /* actually apropos/whatis --long */
+		pipecmd_arg (cmd, "-l");
 	if (colon_sep_section_list)
 		pipecmd_args (cmd, "-s", colon_sep_section_list, NULL);
 	if (alt_system_name)
-- 
1.9.3