]> git.hungrycats.org Git - bees/commitdiff
config v2: put the section comments back
authorZygo Blaxell <bees@furryterror.org>
Mon, 31 Aug 2026 00:06:14 +0000 (20:06 -0400)
committerZygo Blaxell <bees@furryterror.org>
Tue, 6 Oct 2026 05:51:40 +0000 (01:51 -0400)
Comments in front of a section header are part of the section header.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-config-v2.cc

index b6d892181ffbd233b74b0d29f15db5a6fcffcd66..cd5dd9f555d4c1fc3124477cf5777823d7e2c03b 100644 (file)
@@ -1,6 +1,10 @@
 #include "bees-config.h"
 
 static const char bees_config_v2[] = R"--v2-config--(
+
+# The [config] section controls config file sources and versioning.
+# Precedence: builtin < global < local < argv/--option/--config.
+
 [config]
 
         # Config version (number) or alias (STABLE, CURRENT, v0.11).