Merge pull request #24831 from poettering/dbus-dump-doc

man: clarify that D-Bus Dump() call is a debugging interface with no guarantees
This commit is contained in:
Franck Bui
2022-09-30 14:23:59 +02:00
committed by GitHub
2 changed files with 18 additions and 4 deletions
+4
View File
@@ -33,6 +33,10 @@ void manager_dump(Manager *m, FILE *f, const char *prefix) {
assert(m);
assert(f);
/* NB: this is a debug interface for developers. It's not supposed to be machine readable or be
* stable between versions. We take the liberty to restructure it entirely between versions and
* add/remove fields at will. */
fprintf(f, "%sManager: systemd " STRINGIFY(PROJECT_VERSION) " (" GIT_VERSION ")\n", strempty(prefix));
fprintf(f, "%sFeatures: %s\n", strempty(prefix), systemd_features);