aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Farley <ryan.farley@gmx.com>2021-05-07 09:41:50 +0000
committerRyan Farley <ryan.farley@gmx.com>2021-05-07 09:41:50 +0000
commitb3117f75d8b227e98d4a9b5827e453020be76c5c (patch)
treebbb84bdf6fc836fda754bfa686723a5751f70a14
parentstyle, consistent bool names, deprecate old config (diff)
clearly mark bell as a section
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 8dbd86d6..044e5fce 100644
--- a/config.c
+++ b/config.c
@@ -594,7 +594,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
}
else if (strcmp(key, "bell") == 0) {
- LOG_WARN("deprecated: %s:%d: [default]: bell: set actions in section 'bell' instead", path, lineno);
+ LOG_WARN("deprecated: %s:%d: [default]: bell: set actions in section '[bell]' instead", path, lineno);
const char fmt[] = "%s:%d \033[1mbell\033[21m, use section \033[1m[bell]\033[21m instead";
char *text = xasprintf(fmt, path, lineno);