-.\" $OpenBSD: sh.1,v 1.126 2015/03/31 21:23:34 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.127 2015/04/30 20:19:04 jmc Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 31 2015 $
+.Dd $Mdocdate: April 30 2015 $
.Dt SH 1
.Os
.Sh NAME
option.
.Bl -tag -width Ds
.It Fl a
-allexport.
+Allexport.
Variable assignments are exported to all child processes
of the running shell.
If the assignment precedes a command it does not persist
.Ic read
makes the assignment.
.It Fl b
-notify.
+Notify.
The user is given notice asynchronously when background jobs complete.
.It Fl C
-noclobber.
+Noclobber.
Do not permit the redirection operator
.Pq Sq >
to clobber (overwrite) existing files.
.It Fl e
-errexit.
+Errexit.
Exit the shell immediately should an error occur or a command fail.
For pipelines and
.Cm &&
and
.Cm ||
constructs, only exit if the last component fails.
-errexit is ignored for
+Errexit is ignored for
.Ic while ,
.Ic until ,
.Ic if ,
lists and pipelines beginning
.Sq !\& .
.It Fl f
-noglob.
+Noglob.
Do not expand file name patterns.
.It Fl h
When a utility is first executed,
This option is set by default
if the session is attached to a terminal.
.It Fl m
-monitor.
+Monitor.
Fully enable job control:
enable the
.Ic bg
The processes of a job share their own process group.
This option is set by default for interactive shells.
.It Fl n
-noexec.
+Noexec.
Read commands but do not execute them \(en
useful for checking syntax errors in scripts.
This option is ignored for interactive shells.
command line editing.
.El
.It Fl u
-nounset.
+Nounset.
If a command references an unset parameter,
write an error to standard output instead of executing the command.
This option is ignored for the special parameters
If the shell is not interactive,
immediately exit.
.It Fl v
-verbose.
+Verbose.
Write input to standard error after reading it.
.It Fl x
-xtrace.
+Xtrace.
Write a trace for each command to standard error after expanding it,
and before executing it.
.El