chiark / gitweb /
zsh: add hibernate and hybrid-sleep to zsh-completion
[elogind.git] / shell-completion / systemd-zsh-completion.zsh
index 7799bf68dad99f934cf4f45941a3500596df98e8..ee68ac75768b78cc8cbc239bdfe616cd6a76b314 100644 (file)
@@ -77,7 +77,7 @@ _ctls()
                 {-n,--lines=}'[Number of journal entries to show]:integer' \
                 '--no-tail[Show all lines, even in follow mode]' \
                 {-o,--output=}'[Change journal output mode]:output modes:_outputmodes' \
-                {--full}'[Show long fields in full]' \
+                '--full[Show long fields in full]' \
                 {-a,--all}'[Show all fields, including long and unprintable]' \
                 {-q,--quiet}"[Don't show privilege warning]" \
                 '--no-pager[Do not pipe output into a pager]' \
@@ -327,9 +327,11 @@ _outputmodes() {
     "restart:Start or restart one or more units"
     "condrestart:Restart one or more units if active"
     "try-restart:Restart one or more units if active"
-    "reload-or-restart:Reload one or more units is possible, otherwise start or restart"
-    "force-reload:Reload one or more units is possible, otherwise restart if active"
-    "reload-or-try-restart:Reload one or more units is possible, otherwise restart if active"
+    "reload-or-restart:Reload one or more units if possible, otherwise start or restart"
+    "force-reload:Reload one or more units if possible, otherwise restart if active"
+    "hibernate:Hibernate the system"
+    "hybrid-sleep:Hibernate and suspend the system"
+    "reload-or-try-restart:Reload one or more units if possible, otherwise restart if active"
     "isolate:Start one unit and stop all others"
     "kill:Send signal to processes of a unit"
     "is-active:Check whether units are active"