From 46167cae672073b1ce0aeb4966b30c28bc47957e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 4 Sep 2021 14:20:24 -0400 Subject: configfile: Add support for reporting deprecated options Add a new printer.configfile.warnings with a list of config features that are deprecated. Signed-off-by: Kevin O'Connor --- docs/Status_Reference.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/Status_Reference.md') diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index 68abf2f6..049ddf1a 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -28,6 +28,12 @@ The following information is available in the `configfile` object setting as read by Klipper during the last software start or restart. (Any settings changed at run-time will not be reflected here.) All values are returned as strings. +- `save_config_pending`: Returns true if there are updates that a + `SAVE_CONFIG` command may persist to disk. +- `warnings`: A list of warnings about config options. Each entry in + the list will be a dictionary containing a `type` and `message` + field (both strings). Additional fields may be available depending + on the type of warning. ## display_status -- cgit v1.2.3-70-g09d2