summaryrefslogtreecommitdiff
path: root/src/nm-config.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-11-09 18:08:45 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2018-12-01 15:16:48 +0100
commit2e45d4ada6664dd47733c87d1495a960683a87ff (patch)
tree9fa2fbb0ddf92bc656ac5feb33554deb0a2876d5 /src/nm-config.c
parent32f4abe90b72ad713ae00ac99a88ae5116f28dbd (diff)
downloadNetworkManager-2e45d4ada6664dd47733c87d1495a960683a87ff.tar.gz
build: check that the list of supported config options is up to date
Add a script run during 'make check' to verify that all config options are in the list of supported ones.
Diffstat (limited to 'src/nm-config.c')
-rw-r--r--src/nm-config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-config.c b/src/nm-config.c
index 0bb615cd3f..4f060d335b 100644
--- a/src/nm-config.c
+++ b/src/nm-config.c
@@ -743,6 +743,9 @@ typedef struct {
bool is_connection:1;
} ConfigGroup;
+/* The following comment is used by check-config-options.sh, don't remove it. */
+/* START OPTION LIST */
+
static const ConfigGroup config_groups[] = {
{
.group = NM_CONFIG_KEYFILE_GROUP_MAIN,
@@ -837,6 +840,9 @@ static const ConfigGroup config_groups[] = {
{ } /* sentinel */
};
+/* The following comment is used by check-config-options.sh, don't remove it. */
+/* END OPTION LIST */
+
static gboolean
check_config_key (const char *group, const char *key)
{