From 1386e34bae438f975fe6e0a0f8bc044fc07bbcf6 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 7 Jul 2023 13:39:21 +0100 Subject: [PATCH 1/3] shell-completion: add soft-reboot to bash --- shell-completion/bash/systemctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 0e411f5a5f..1b803de8b1 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -213,7 +213,7 @@ _systemctl () { [ENVS]='set-environment unset-environment import-environment' [STANDALONE]='daemon-reexec daemon-reload default emergency exit halt hibernate hybrid-sleep - suspend-then-hibernate kexec list-jobs list-sockets + suspend-then-hibernate kexec soft-reboot list-jobs list-sockets list-timers list-units list-unit-files poweroff reboot rescue show-environment suspend get-default is-system-running preset-all list-automounts list-paths' From 7df82b8d646b71853c824a77ada41351cd5d62a0 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 7 Jul 2023 13:40:12 +0100 Subject: [PATCH 2/3] shell-completion: add whoami to bash --- shell-completion/bash/systemctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 1b803de8b1..480b3b5ae1 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -211,7 +211,7 @@ _systemctl () { [MASKED_UNITS]='unmask' [JOBS]='cancel' [ENVS]='set-environment unset-environment import-environment' - [STANDALONE]='daemon-reexec daemon-reload default + [STANDALONE]='daemon-reexec daemon-reload default whoami emergency exit halt hibernate hybrid-sleep suspend-then-hibernate kexec soft-reboot list-jobs list-sockets list-timers list-units list-unit-files poweroff From 09c857a02aa0eeead01a6206e688f45347680b38 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 7 Jul 2023 13:41:15 +0100 Subject: [PATCH 3/3] shell-completion: add show-cache to bash --- shell-completion/bash/resolvectl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-completion/bash/resolvectl b/shell-completion/bash/resolvectl index 779842ea11..bd3e8bf939 100644 --- a/shell-completion/bash/resolvectl +++ b/shell-completion/bash/resolvectl @@ -49,7 +49,7 @@ _resolvectl() { [RESOLVE]='llmnr mdns' [DNSSEC]='dnssec' [DNSOVERTLS]='dnsovertls' - [STANDALONE]='statistics reset-statistics flush-caches reset-server-features' + [STANDALONE]='statistics reset-statistics flush-caches reset-server-features show-cache' [LOG_LEVEL]='log-level' ) local -A ARGS=(