diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-10 17:17:34 +0900 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 43e3b16a87ed24ba58facbc29f05ad99aa581fac (patch) | |
tree | a7897f6cd1963fce1749681410f2330b216e4d56 /src/shared/bus-util.c | |
parent | aa2cef3e73211cea105f1b4e6c1756eb6592439a (diff) |
timedatectl: add 'show' command to display machine-readable output
Closes #9249.
Diffstat (limited to 'src/shared/bus-util.c')
-rw-r--r-- | src/shared/bus-util.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |