Module Name: src
Committed By: kre
Date: Wed Dec 12 12:56:17 UTC 2018
Modified Files:
src/bin/sh: sh.1
Log Message:
More fixes for the SYNPOSIS of the readonly built-in.
The SYNOPSIS for "readonly -q" cannot have the -q be
optional ... Also harmonise the output appearance with
that of the export command.
wiz: have at it...
To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/bin/sh/sh.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/sh.1
diff -u src/bin/sh/sh.1:1.214 src/bin/sh/sh.1:1.215
--- src/bin/sh/sh.1:1.214 Wed Dec 12 12:30:59 2018
+++ src/bin/sh/sh.1 Wed Dec 12 12:56:17 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.214 2018/12/12 12:30:59 kre Exp $
+.\" $NetBSD: sh.1,v 1.215 2018/12/12 12:56:17 kre Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -3169,9 +3169,9 @@ literally.
If a backslash is followed by a newline, the backslash and the
newline will be deleted.
.\"
-.It Ic readonly Ar name Ns Oo =value Oc Ns ...
-.It Ic readonly Oo Fl p Oo name... Oc Oc
-.It Ic readonly Oo Fl q Oc name...
+.It Ic readonly Ar name Ns Oo =value Oc ...
+.It Ic readonly Oo Fl p Oo Ar name ... Oc Oc
+.It Ic readonly Fl q Ar name ...
With no options,
the specified names are marked as read only, so that they cannot be
subsequently modified or unset.