Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh More fixes for the SYNPOSIS of the readonly built-in.



details:   https://anonhg.NetBSD.org/src/rev/dcd935219b6e
branches:  trunk
changeset: 446615:dcd935219b6e
user:      kre <kre%NetBSD.org@localhost>
date:      Wed Dec 12 12:56:17 2018 +0000

description:
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...

diffstat:

 bin/sh/sh.1 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 0748366c03ac -r dcd935219b6e bin/sh/sh.1
--- a/bin/sh/sh.1       Wed Dec 12 12:30:59 2018 +0000
+++ b/bin/sh/sh.1       Wed Dec 12 12:56:17 2018 +0000
@@ -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 @@
 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.



Home | Main Index | Thread Index | Old Index