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:
parent
30adccf3d4
commit
c8342feb07
@ -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
|
||||
|
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user