The -g option is obsolete (and undocumented) at least since the initial
import in '95. Your finger memory should be updated by now.
Ok to remove?
natano
Index: main.c
===================================================================
RCS file: /cvs/src/usr.sbin/config/main.c,v
retrieving revision 1.53
diff -u -p -r1.53 main.c
--- main.c 16 Oct 2016 08:47:17 -0000 1.53
+++ main.c 16 Oct 2016 09:11:02 -0000
@@ -109,7 +109,7 @@ main(int argc, char *argv[])
err(1, "pledge");
pflag = eflag = uflag = fflag = 0;
- while ((ch = getopt(argc, argv, "egpfb:s:o:u")) != -1) {
+ while ((ch = getopt(argc, argv, "epfb:s:o:u")) != -1) {
switch (ch) {
case 'o':
@@ -127,18 +127,6 @@ main(int argc, char *argv[])
if (!isatty(STDIN_FILENO))
verbose = 1;
break;
-
- case 'g':
- /*
- * In addition to DEBUG, you probably wanted to
- * set "options KGDB" and maybe others. We could
- * do that for you, but you really should just
- * put them in the config file.
- */
- (void)fputs(
- "-g is obsolete (use makeoptions DEBUG=\"-g\")\n",
- stderr);
- usage();
case 'p':
/*