From 32f99fb50019610a8658f4c2396ae6319d457bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 18 Aug 2026 19:00:58 +0200 Subject: [PATCH 1/2] analyze,timedatectl: drop explicit field name The .abstract field is always set, so it is fairly unambiguous to recognize, and the value is usually long, so it's better to be brief. It was only explicitly labelled in those two places. --- src/analyze/analyze.c | 2 +- src/timedate/timedatectl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 38c17606d7..7b6ff7e20e 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -198,7 +198,7 @@ static int verb_transient_settings(int argc, char *argv[], uintptr_t _data, void COMMAND( "systemd-analyze\0", - .abstract = "Profile systemd, show unit dependencies, check unit files.", + "Profile systemd, show unit dependencies, check unit files.", .man_pages = "systemd-analyze.1\0", .pager_flags = &arg_pager_flags, ); diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 9926748cbc..0832a786f2 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -181,7 +181,7 @@ static int print_status_info(const StatusInfo *i) { COMMAND( "timedatectl\0", - .abstract = "Query or change system time and date settings.", + "Query or change system time and date settings.", .man_pages = "timedatectl.1\0", .pager_flags = &arg_pager_flags, ); From 9062186b46abd7a3b787d25f1b5dde8d49d03338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 18 Aug 2026 19:06:48 +0200 Subject: [PATCH 2/2] shared/verbs: add "project" field in introspection data As raised in post-merge review for the addition of COMMAND, nothing in the data specified that the program is part of the systemd project. --- src/shared/verbs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/verbs.c b/src/shared/verbs.c index 0b27f4850c..40752ef4cb 100644 --- a/src/shared/verbs.c +++ b/src/shared/verbs.c @@ -607,6 +607,7 @@ static int command_build_json( r = sd_json_buildo( ret, SD_JSON_BUILD_PAIR_VARIANT("names", names), + SD_JSON_BUILD_PAIR_STRING("project", "systemd"), SD_JSON_BUILD_PAIR_STRING("version", PROJECT_VERSION_FULL), SD_JSON_BUILD_PAIR_STRV("features", features), SD_JSON_BUILD_PAIR_CONDITION(