summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikel Ward <mbw@google.com>2016-11-18 12:11:40 -0800
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2016-11-20 19:18:34 +0000
commita2426747dabd72b8bf6fef73e4c1b229c7325385 (patch)
tree8026355a4a5e8f9082f4bc9378edb36c8408d1d5
parentf35198d8379303f47c935d8fdd18bc1a76a111aa (diff)
downloadzsh-a2426747dabd72b8bf6fef73e4c1b229c7325385.tar.gz
zsh-a2426747dabd72b8bf6fef73e4c1b229c7325385.tar.xz
zsh-a2426747dabd72b8bf6fef73e4c1b229c7325385.zip
39978: more accurate doc for finding job by string
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/jobs.yo4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 13e52e51b..3a917f59c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-20  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Mikel Ward: 39978: Doc/Zsh/jobs.yo: more accurate
+	documentation of searching for job by string.
+
 2016-11-20  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 39992: Src/params.c: setarrvalue: Allocate a correctly-sized
diff --git a/Doc/Zsh/jobs.yo b/Doc/Zsh/jobs.yo
index d9395010a..6262dd244 100644
--- a/Doc/Zsh/jobs.yo
+++ b/Doc/Zsh/jobs.yo
@@ -74,8 +74,8 @@ or by one of the following:
 
 startsitem()
 sitem(tt(%)var(number))(The job with the given number.)
-sitem(tt(%)var(string))(Any job whose command line begins with var(string).)
-sitem(tt(%?)var(string))(Any job whose command line contains var(string).)
+sitem(tt(%)var(string))(The last job whose command line begins with var(string).)
+sitem(tt(%?)var(string))(The last job whose command line contains var(string).)
 sitem(tt(%%))(Current job.)
 sitem(tt(%PLUS()))(Equivalent to `tt(%%)'.)
 sitem(tt(%-))(Previous job.)