From 0b3aa73af10b49a56be74e2c6c25a16768576a90 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 16 May 2021 17:28:37 +0200 Subject: _timeout: Fix wrong syntax --- ChangeLog | 4 ++++ Completion/Unix/Command/_timeout | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a2ac0c22..c64d7926a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mikael Magnusson + + * unposted: Completion/Unix/Command/_timeout: Fix wrong syntax + 2021-05-15 Bart Schaefer * 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' -- cgit 1.4.1