make(1): clean up comments for command line options

This commit is contained in:
rillig 2020-12-11 23:00:59 +00:00
parent a4123952e2
commit ad7305d632
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.493 2020/12/11 22:48:31 rillig Exp $ */ /* $NetBSD: main.c,v 1.494 2020/12/11 23:00:59 rillig Exp $ */
/* /*
* Copyright (c) 1988, 1989, 1990, 1993 * Copyright (c) 1988, 1989, 1990, 1993
@ -109,7 +109,7 @@
#include "trace.h" #include "trace.h"
/* "@(#)main.c 8.3 (Berkeley) 3/19/94" */ /* "@(#)main.c 8.3 (Berkeley) 3/19/94" */
MAKE_RCSID("$NetBSD: main.c,v 1.493 2020/12/11 22:48:31 rillig Exp $"); MAKE_RCSID("$NetBSD: main.c,v 1.494 2020/12/11 23:00:59 rillig Exp $");
#if defined(MAKE_NATIVE) && !defined(lint) #if defined(MAKE_NATIVE) && !defined(lint)
__COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 " __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
"The Regents of the University of California. " "The Regents of the University of California. "
@ -1116,8 +1116,8 @@ UnlimitFiles(void)
static void static void
CmdOpts_Init(void) CmdOpts_Init(void)
{ {
opts.compatMake = FALSE; /* No compat mode */ opts.compatMake = FALSE;
opts.debug = DEBUG_NONE; /* No debug verbosity, please. */ opts.debug = DEBUG_NONE;
/* opts.debug_file has been initialized earlier */ /* opts.debug_file has been initialized earlier */
opts.lint = FALSE; opts.lint = FALSE;
opts.debugVflag = FALSE; opts.debugVflag = FALSE;
@ -1128,10 +1128,10 @@ CmdOpts_Init(void)
opts.keepgoing = FALSE; /* Stop on error */ opts.keepgoing = FALSE; /* Stop on error */
opts.noRecursiveExecute = FALSE; /* Execute all .MAKE targets */ opts.noRecursiveExecute = FALSE; /* Execute all .MAKE targets */
opts.noExecute = FALSE; /* Execute all commands */ opts.noExecute = FALSE; /* Execute all commands */
opts.queryFlag = FALSE; /* This is not just a check-run */ opts.queryFlag = FALSE;
opts.noBuiltins = FALSE; /* Read the built-in rules */ opts.noBuiltins = FALSE; /* Read the built-in rules */
opts.beSilent = FALSE; /* Print commands as executed */ opts.beSilent = FALSE; /* Print commands as executed */
opts.touchFlag = FALSE; /* Actually update targets */ opts.touchFlag = FALSE;
opts.printVars = PVM_NONE; opts.printVars = PVM_NONE;
Lst_Init(&opts.variables); Lst_Init(&opts.variables);
opts.parseWarnFatal = FALSE; opts.parseWarnFatal = FALSE;

View File

@ -1,4 +1,4 @@
/* $NetBSD: make.h,v 1.232 2020/12/06 10:33:42 rillig Exp $ */ /* $NetBSD: make.h,v 1.233 2020/12/11 23:00:59 rillig Exp $ */
/* /*
* Copyright (c) 1988, 1989, 1990, 1993 * Copyright (c) 1988, 1989, 1990, 1993
@ -640,8 +640,8 @@ typedef struct CmdOpts {
* this is coordinated with the submakes */ * this is coordinated with the submakes */
int maxJobs; int maxJobs;
/* -k: if true, continue on unaffected portions of the graph when an /* -k: if true and an error occurs while making a node, continue
* error occurs in one portion */ * making nodes that do not depend on the erroneous node */
Boolean keepgoing; Boolean keepgoing;
/* -N: execute no commands from the targets */ /* -N: execute no commands from the targets */