Module Name: src
Committed By: kre
Date: Fri Nov 23 20:40:06 UTC 2018
Modified Files:
src/bin/sh: option.list sh.1
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/bin/sh/option.list
cvs rdiff -u -r1.208 -r1.209 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/option.list
diff -u src/bin/sh/option.list:1.8 src/bin/sh/option.list:1.9
--- src/bin/sh/option.list:1.8 Tue Nov 21 03:42:39 2017
+++ src/bin/sh/option.list Fri Nov 23 20:40:06 2018
@@ -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 @@ qflag quietprofile q # disable -v/-x in
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
Index: src/bin/sh/sh.1
diff -u src/bin/sh/sh.1:1.208 src/bin/sh/sh.1:1.209
--- src/bin/sh/sh.1:1.208 Tue Sep 4 23:16:30 2018
+++ src/bin/sh/sh.1 Fri Nov 23 20:40:06 2018
@@ -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 @@ section below.)
.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