freebsd-nq/usr.sbin/config
Kyle Evans 993e5c4fd2 config(8): Allow duplicate options to be specified
config(8)'s option handling has been written to allow duplicate options; if
the value changes, then the latest value is used and an informative message
is printed to stderr like so:

/usr/src/sys/amd64/conf/TEST: option "VERBOSE_SYSINIT" redefined from 0 to 1

Currently, this is only a possibility for cpu types, MAXUSERS, and
MACHINE_ARCH. Anything else duplicated in a config file will use the first
value set and error about duplicated options on subsequent appearances,
which is arguably unfriendly since one could specify:

include GENERIC
nooptions VERBOSE_SYSINIT
options VERBOSE_SYSINIT

to redefine the value later anyways.

Reported by:	mmacy
MFC after:	1 week
2018-12-22 06:02:34 +00:00
..
config.5 kern_environment: Give the static environment a chance to disable MD env 2018-07-12 02:51:50 +00:00
config.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
config.h config(8): Add compatibility shims for r335998 2018-07-17 14:14:53 +00:00
config.y config(8): Allow duplicate options to be specified 2018-12-22 06:02:34 +00:00
configvers.h config(8): Add compatibility shims for r335998 2018-07-17 14:14:53 +00:00
kernconf.tmpl
lang.l config(8): Allow escape-quoted empty strings 2018-08-20 22:08:03 +00:00
main.c Fix GCC 4.2 build after r336415, proper declaration and prototype 2018-07-17 14:34:54 +00:00
Makefile config(8): Fix broken ABI 2018-07-06 11:23:14 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkheaders.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mkmakefile.c Remove variable re-inserted during mis-application of r336973 2018-07-31 16:08:17 +00:00
mkoptions.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00