summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-04-18 15:26:33 +0000
committerschwarze <schwarze@openbsd.org>2017-04-18 15:26:33 +0000
commita263367a24d4af5293845bb5b529d2dd31505036 (patch)
treef5af2778915d1b363975631ba7a953a6f49afc06
parentinstallation of the compiler creates include/g++ if needed; mtree does not (diff)
downloadwireguard-openbsd-a263367a24d4af5293845bb5b529d2dd31505036.tar.xz
wireguard-openbsd-a263367a24d4af5293845bb5b529d2dd31505036.zip
Delete the undocumented and unimplemented man(1) -i (interactive
apropos) option. It will not be implemented. Featurism isn't the plan for the future; simplicity is.
-rw-r--r--usr.bin/mandoc/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c
index fa3e496fadf..ee1d3bdc82f 100644
--- a/usr.bin/mandoc/main.c
+++ b/usr.bin/mandoc/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.190 2017/03/27 18:51:20 schwarze Exp $ */
+/* $OpenBSD: main.c,v 1.191 2017/04/18 15:26:33 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -50,7 +50,6 @@ enum outmode {
OUTMODE_FLN,
OUTMODE_LST,
OUTMODE_ALL,
- OUTMODE_INT,
OUTMODE_ONE
};
@@ -201,9 +200,6 @@ main(int argc, char *argv[])
}
defos = mandoc_strdup(optarg + 3);
break;
- case 'i':
- outmode = OUTMODE_INT;
- break;
case 'K':
if ( ! koptions(&options, optarg))
return (int)MANDOCLEVEL_BADARG;