1--- src/man-getopt.c.orig	Sat Oct 23 05:38:46 2004
2+++ src/man-getopt.c	Sat Oct 23 06:17:04 2004
3@@ -39,7 +39,7 @@
4      exit(1);
5 }
6 
7-static char short_opts[] = "B:C:H:xM:P:S:acdfFhkKm:p:s:tvVwW?";
8+static char short_opts[] = "B:C:H:xM:P:S:acdfFhkKm:p:s:tvVwW?Lq";
9 
10 #ifndef NOGETOPT
11 #undef _GNU_SOURCE
12@@ -167,6 +167,11 @@
13 		    fatal (INCOMPAT, "-w", "-t");
14 	       print_where++;
15 	       break;
16+	  /* Silently ignore manpath -q and -L (3825529). */
17+	  case 'L':
18+	  case 'q':
19+	       if (!strncmp(progname, "manpath", 7))
20+		    break;
21 	  case 'h':
22 	  case '?':
23 	  default:
24