From 5c46878eda4e81eb06cf0643e8998d3ce0d99d5c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 21 Jun 2018 10:47:51 +0900 Subject: [PATCH 1/2] bash-completion: support 'timedatectl show' --- shell-completion/bash/timedatectl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl index 9830368a59..b2dd1a88c4 100644 --- a/shell-completion/bash/timedatectl +++ b/shell-completion/bash/timedatectl @@ -57,7 +57,7 @@ _timedatectl() { local -A VERBS=( [BOOLEAN]='set-local-rtc set-ntp' - [STANDALONE]='status list-timezones timesync-status show-timesync' + [STANDALONE]='status show list-timezones timesync-status show-timesync' [TIMEZONES]='set-timezone' [TIME]='set-time' ) From 704ae536595a045fe6c396f55e81c43751cb8e98 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 21 Jun 2018 10:51:35 +0900 Subject: [PATCH 2/2] NEWS: mention 'timedatectl show' --- NEWS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 5f838bf15d..07ad6875b0 100644 --- a/NEWS +++ b/NEWS @@ -220,9 +220,10 @@ CHANGES WITH 239 in spe: example, "systemd-tmpfiles --cat-config" will now output the full list of tmpfiles.d/ lines in place. - * timedatectl gained two new verbs "timesync-status" (to show the - current NTP synchronization state of systemd-timesyncd) and - "show-timesync" (to show bus properties of systemd-timesyncd). + * timedatectl gained three new verbs: "show" shows bus properties of + systemd-timedated, "timesync-status" shows the current NTP + synchronization state of systemd-timesyncd, and "show-timesync" + shows bus properties of systemd-timesyncd. * systemd-timesyncd gained a bus interface on which it exposes details about its state.