Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Avoid long option names that differ only in character...



details:   https://anonhg.NetBSD.org/src/rev/6172f0be3510
branches:  trunk
changeset: 446104:6172f0be3510
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Nov 23 20:40:06 2018 +0000

description:
Avoid long option names that differ only in character case.
Change Xtrace (the name) to xlock instead.  Aside from the different
name, there is no change to functionality.

diffstat:

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

diffs (36 lines):

diff -r 8f78abb06655 -r 6172f0be3510 bin/sh/option.list
--- a/bin/sh/option.list        Fri Nov 23 18:08:11 2018 +0000
+++ b/bin/sh/option.list        Fri Nov 23 20:40:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: option.list,v 1.8 2017/11/21 03:42:39 kre Exp $ */
+/* $NetBSD: option.list,v 1.9 2018/11/23 20:40:06 kre Exp $ */
 
 /*
  * define the shell's settable options
@@ -66,7 +66,7 @@
 fnline1        local_lineno    L on            # number lines in funcs starting at 1
 promptcmds promptcmds                  # allow $( ) in PS1 (et al).
 pipefail pipefail                      # pipe exit status
-Xflag  Xtrace          X #ifndef SMALL # sticky stderr for -x (implies -x)
+Xflag  xlock           X #ifndef SMALL # sticky stderr for -x (implies -x)
 
 // editline/history related options ("vi" is standard, 'V' and others are not)
 // only one of vi/emacs can be set, hence the "set" definition, value
diff -r 8f78abb06655 -r 6172f0be3510 bin/sh/sh.1
--- a/bin/sh/sh.1       Fri Nov 23 18:08:11 2018 +0000
+++ b/bin/sh/sh.1       Fri Nov 23 20:40:06 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.208 2018/09/04 23:16:30 kre Exp $
+.\"    $NetBSD: sh.1,v 1.209 2018/11/23 20:40:06 kre Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -443,7 +443,7 @@
 .It Fl v Em verbose
 The shell writes its input to standard error as it is read.
 Useful for debugging.
-.It Fl X Em Xtrace
+.It Fl X Em xlock
 Cause output from the
 .Ic xtrace
 .Pq Fl x



Home | Main Index | Thread Index | Old Index