1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-24 14:50:17 +03:00

shell-completions: add systemctl sleep

This commit is contained in:
Duncan Overbruck 2025-01-16 03:51:52 +01:00 committed by Lennart Poettering
parent 30adccf3d4
commit c8342feb07
2 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,7 @@ _systemctl () {
[JOBS]='cancel'
[ENVS]='set-environment unset-environment import-environment'
[STANDALONE]='daemon-reexec daemon-reload default whoami
emergency exit halt hibernate hybrid-sleep
emergency exit halt hibernate hybrid-sleep sleep
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

View File

@ -105,6 +105,7 @@
"hibernate:Hibernate the system"
"hybrid-sleep:Hibernate and suspend the system"
"suspend-then-hibernate:Suspend the system for a period of time, and then hibernate it"
"sleep:Put the system to sleep"
)
local -a groups=( unit machine unit_file job environment manager_state system )