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.
This commit is contained in:
kre 2018-11-23 20:40:06 +00:00
parent 22b8ea7027
commit 30bfb81c65
2 changed files with 4 additions and 4 deletions

View File

@ -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 startup files
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

View File

@ -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