From: Yu Watanabe Date: Sun, 10 Jun 2018 08:17:34 +0000 (+0900) Subject: timedatectl: add 'show' command to display machine-readable output X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=43e3b16a87ed24ba58facbc29f05ad99aa581fac timedatectl: add 'show' command to display machine-readable output Closes #9249. --- diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index e69b53ea6..d2768d62b 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -700,7 +700,8 @@ int bus_print_property(const char *name, sd_bus_message *m, bool value, bool all /* Yes, heuristics! But we can change this check * should it turn out to not be sufficient */ - if (endswith(name, "Timestamp") || STR_IN_SET(name, "NextElapseUSecRealtime", "LastTriggerUSec")) { + if (endswith(name, "Timestamp") || + STR_IN_SET(name, "NextElapseUSecRealtime", "LastTriggerUSec", "TimeUSec", "RTCTimeUSec")) { char timestamp[FORMAT_TIMESTAMP_MAX]; const char *t;