]> git.ipfire.org Git - thirdparty/chrony.git/commit
cmdparse: add status for server and local command
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Mar 2025 11:07:29 +0000 (12:07 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 20 Mar 2025 14:57:55 +0000 (15:57 +0100)
commite694ae769a4942e35450cc19c6ab065c680edada
tree0c1a238fb6468b3840089b941f61ae4343313698
parent2b127b2e93f20f3b10fbb5dccb36fb18d5b5199b
cmdparse: add status for server and local command

Add an enum to describe the error in the parsed directive: missing
argument, invalid option, or invalid value.

Update the error messages in conf.c and client.c.
client.c
cmdparse.c
cmdparse.h
conf.c