mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 10:17:56 -06:00
configfile: Expose options awaiting to be saved (#5270)
Adds a save_config_pending_items to the status reported by configfile reflecting the items and values that a future SAVE_CONFIG would actually persist. Signed-off-by: Kurt Haenen <kurt.haenen@gmail.com>
This commit is contained in:
parent
6af931c4e1
commit
f2a5800cea
2 changed files with 24 additions and 3 deletions
|
@ -41,6 +41,8 @@ The following information is available in the `configfile` object
|
|||
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.
|
||||
- `save_config_pending_items`: Contains the sections and options that
|
||||
were changed and would be persisted by a `SAVE_CONFIG`.
|
||||
- `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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue