about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-08-05 19:19:57 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-08-08 22:15:44 +0200
commit1e0ba96c7d5a5bbdde3419bd802df788ad6b7e58 (patch)
tree5161a450a3c8c367a4fd1b2960d91bf88cf3716f
parentb0ebabdc6591f1edba6eaf233a9bb61bdfa57632 (diff)
downloadzsh-1e0ba96c7d5a5bbdde3419bd802df788ad6b7e58.tar.gz
zsh-1e0ba96c7d5a5bbdde3419bd802df788ad6b7e58.tar.xz
zsh-1e0ba96c7d5a5bbdde3419bd802df788ad6b7e58.zip
35954: Doc: sysopen -u is not optional
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Zsh/mod_system.yo4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dc3ed2382..7956b8af6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-08  Mikael Magnusson  <mikachu@gmail.com>
+
+	* 35954: Doc/Zsh/mod_system.yo: sysopen -u is not optional
+
 2015-08-09  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
 
 	* 35929: Src/jobs.c: protect FDT_PROC_SUBST by #ifdef
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo
index e4d4c31f7..5feb7dd99 100644
--- a/Doc/Zsh/mod_system.yo
+++ b/Doc/Zsh/mod_system.yo
@@ -31,12 +31,12 @@ not recognised (no message is printed for this).
 findex(sysopen)
 redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ @ @ @ ))ifnztexi(        )))
 xitem(tt(sysopen) [ tt(-arw) ] [ tt(-m) var(permissions) ] [ tt(-o) var(options) ])
-item(SPACES()[ tt(-u) var(fd) ] var(file))(
+item(SPACES()tt(-u) var(fd) var(file))(
 This command opens a file. The tt(-r), tt(-w) and tt(-a) flags indicate
 whether the file should be opened for reading, writing and appending,
 respectively. The tt(-m) option allows the initial permissions to use when
 creating a file to be specified in octal form.  The file descriptor is
-specified with -u. Either an explicit file descriptor in the range 0 to 9 can
+specified with tt(-u). Either an explicit file descriptor in the range 0 to 9 can
 be specified or a variable name can be given to which the file descriptor
 number will be assigned.