]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completions: add systemctl sleep
authorDuncan Overbruck <mail@duncano.de>
Thu, 16 Jan 2025 02:51:52 +0000 (03:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Jan 2025 08:33:15 +0000 (09:33 +0100)
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in

index f2219f23ea444c3d6450ab215a55b7baa1105a6b..c1231653b6f8bb0f3057163b3863d48677d9f63d 100644 (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
index a5a16b3fdbe1700d341596728bd067839761c419..0000147fe42f24c9f6f6d235266b3fb141ccbeb9 100644 (file)
         "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 )