about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_timeout2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a2ac0c22..c64d7926a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-16  Mikael Magnusson  <mikachu@gmail.com>
+
+	* unposted: Completion/Unix/Command/_timeout: Fix wrong syntax
+
 2021-05-15  Bart Schaefer  <schaefer@zsh.org>
 
 	* Han Pingtian: 33465 (very belatedly): use prctl() for "jobs -Z"
diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout
index 5c27bee47..d0ff085bb 100644
--- a/Completion/Unix/Command/_timeout
+++ b/Completion/Unix/Command/_timeout
@@ -15,6 +15,6 @@ _arguments -S -A "-" $args \
   '--preserve-status[always exit with the same status as command even if it times out]' \
   "--foreground[don't propagate timeout to the command children]" \
   '(-s --signal)'{-s,--signal}'[specify the signal to send on timeout]:signal:_signals' \
-  '(-k --kill-after)'{-k,--kill-after}'[followup first signal with SIGKILL if command persists after specified time]:time:time' \
+  '(-k --kill-after)'{-k,--kill-after}'[followup first signal with SIGKILL if command persists after specified time]:time' \
   '1: :_guard "[0-9.]#([smhd]|)" duration' \
   '*:::command:_normal'