mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-16 13:19:56 +01:00
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 <kevin@koconnor.net>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user