chiark / gitweb /
test: fix some tests when running inside a container
[elogind.git] / shell-completion / zsh / _systemd
index e954c3e65317843f258847245d55b926c49d0de4..58b1c7b4e56b6e65069140f74bb75a23b2432df0 100644 (file)
@@ -15,8 +15,8 @@ case "$service" in
         _arguments \
             {-h,--help}'[Show this help]' \
             '--version[Show package version.]' \
-            {-t,--identifier=}'[Set syslog identifier.]' \
-            {-p,--priority=}'[Set priority value.]:value:({0..7})' \
+            {-t+,--identifier=}'[Set syslog identifier.]' \
+            {-p+,--priority=}'[Set priority value.]:value:({0..7})' \
             '--level-prefix=[Control whether level prefix shall be parsed.]:boolean:(1 0)' \
             ':Message'
     ;;
@@ -38,8 +38,8 @@ case "$service" in
             '(-m -p -i -t)-c[Order by CPU load]' \
             '(-c -p -i -t)-m[Order by memory load]' \
             '(-c -m -p -t)-i[Order by IO load]' \
-            {-d,--delay=}'[Specify delay]' \
-            {-n,--iterations=}'[Run for N iterations before exiting]' \
+            {-d+,--delay=}'[Specify delay]' \
+            {-n+,--iterations=}'[Run for N iterations before exiting]' \
             {-b,--batch}'[Run in batch mode, accepting no input]' \
             '--depth=[Maximum traversal depth]'
     ;;
@@ -63,8 +63,7 @@ case "$service" in
             '--ready[Inform the init system about service start-up completion.]' \
             '--pid=[Inform the init system about the main PID of the daemon]' \
             '--status=[Send a free-form status string for the daemon to the init systemd]' \
-            '--booted[Returns 0 if the system was booted up with systemd]' \
-            '--readahead=[Controls disk read-ahead operations]:arguments:(cancel done noreply)'
+            '--booted[Returns 0 if the system was booted up with systemd]'
     ;;
     systemd-tty-ask-password-agent)
         _arguments \