summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-06-21 06:57:45 +0200
committerGitHub <noreply@github.com>2018-06-21 06:57:45 +0200
commit3502baf8e2d134d561a6e897e9fe78d86768bbdc (patch)
tree82b95c9661ea1bfdd9d4a513711f38ddd0504c78
parentNEWS: mention %E (diff)
parentNEWS: mention 'timedatectl show' (diff)
downloadsystemd-3502baf8e2d134d561a6e897e9fe78d86768bbdc.tar.xz
systemd-3502baf8e2d134d561a6e897e9fe78d86768bbdc.zip
Merge pull request #9368 from yuwata/bash-completion-timedate
follow-ups for 'timedatectl show'
-rw-r--r--NEWS7
-rw-r--r--shell-completion/bash/timedatectl2
2 files changed, 5 insertions, 4 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.
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'
)