From 876cd95a6eb931c60eb064f6a556c9f1188d9df6 Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 16 Jun 2005 03:51:14 -0700 Subject: [PATCH] [svn] Improve error message so it names the more useful values first. --- src/ChangeLog | 5 +++++ src/init.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 989106dd..18dfa9b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-06-16 Hrvoje Niksic + + * init.c (cmd_lockable_boolean): Improve the error message so it + lists the more useful values first. + 2005-06-15 Hrvoje Niksic * http.c (gethttp): Also report the system error when the POST diff --git a/src/init.c b/src/init.c index b6347aa5..b0e2c592 100644 --- a/src/init.c +++ b/src/init.c @@ -747,7 +747,7 @@ cmd_lockable_boolean (const char *com, const char *val, void *place) else { fprintf (stderr, - _("%s: %s: Invalid boolean `%s', use always, on, off, or never.\n"), + _("%s: %s: Invalid boolean `%s'; use on, off, always, or never.\n"), exec_name, com, val); return 0; } -- 2.39.2