about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-22 06:30:08 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-23 18:02:23 +0000
commit73ff356d7b4cb49861a420b2465ac731f29f9f1b (patch)
treeb807d4e1a98d036f1599e3895e53967c188e0232
parentb7bb60b47e5b07d8bf7c86bd54c0238333d4e7e2 (diff)
downloadzsh-73ff356d7b4cb49861a420b2465ac731f29f9f1b.tar.gz
zsh-73ff356d7b4cb49861a420b2465ac731f29f9f1b.tar.xz
zsh-73ff356d7b4cb49861a420b2465ac731f29f9f1b.zip
38911: _arguments: Clarify documentation of '-s -w' switch
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/compsys.yo5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 83788121d..1d67af1a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-07-23  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 38911: Doc/Zsh/compsys.yo: _arguments: Clarify documentation of
+	'-s -w' switch
+
 2016-07-23  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 38923 (plus expanded comment): Src/jobs.c: zwaitjob() continues
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 8792324e5..a50df999d 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3591,8 +3591,9 @@ even if one or more of the options take
 arguments.  For example, if tt(-x) takes an argument, with no
 tt(-s), `tt(-xy)' is considered as a single (unhandled) option; with
 tt(-s), tt(-xy) is an option with the argument `tt(y)'; with both tt(-s)
-and tt(-w), tt(-xy) may be the option tt(-x) and the option tt(-y) with
-arguments still to come.
+and tt(-w), tt(-xy) is the option tt(-x) and the option tt(-y) with
+arguments to tt(-x) (and to tt(-y), if it takes arguments) still to come
+in subsequent words.
 )
 item(tt(-W))(
 This option takes tt(-w) a stage further:  it is possible to