about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/invoke.yo4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 05eae682c..cdc6b8f16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
 
 2017-09-11  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* unposted: Doc/Zsh/invoke.yo: YODL compatibility fix for
+	--emulate.
+
 	* Thierry Ghelew: 41666: Src/Modules/zpty.c: zpty compatibility
 	for OpenBSD.
 
diff --git a/Doc/Zsh/invoke.yo b/Doc/Zsh/invoke.yo
index a184bc8ce..26108fccb 100644
--- a/Doc/Zsh/invoke.yo
+++ b/Doc/Zsh/invoke.yo
@@ -46,13 +46,13 @@ ifzman(zmanref(zshoptions))\
 ifnzman(noderef(Options))\
 .
 
-The long option `tt(--emulate)' followed (in a separate word) by an
+The long option `tt(-)tt(-emulate)' followed (in a separate word) by an
 emulation mode may be passed to the shell.
 The emulation modes are those described for the tt(emulate) builtin,
 see
 ifzman(zmanref(zshbuiltins))\
 ifnzman(noderef(Shell Builtin Commands)).
-The `tt(--emulate)' option must precede any other options (which might
+The `tt(-)tt(-emulate)' option must precede any other options (which might
 otherwise be overridden), but following options are honoured, so
 may be used to modify the requested emulation mode.  Note that certain
 extra steps are taken to ensure a smooth emulation when this option