summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1998-07-30 04:47:56 +0000
committerjkoshy <jkoshy@FreeBSD.org>1998-07-30 04:47:56 +0000
commitb755766186c45331b91c0f803976ef7069efbeee (patch)
tree8ce8acd94aa5f58549397baf482bcfc71974b0b3
parent52284754c17360fc8711316b10e64554bb5c11c6 (diff)
downloadFreeBSD-src-b755766186c45331b91c0f803976ef7069efbeee.zip
FreeBSD-src-b755766186c45331b91c0f803976ef7069efbeee.tar.gz
Document behaviour of "-" and "--" on the command line.
PR: docs/5399
-rw-r--r--bin/sh/sh.19
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 4719119..5d99ac6 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
-.\" $Id: sh.1,v 1.19 1998/02/12 01:23:11 jdp Exp $
+.\" $Id: sh.1,v 1.20 1998/05/18 06:44:17 charnier Exp $
.\"
.Dd May 5, 1995
.Dt SH 1
@@ -141,7 +141,12 @@ single letter option in the descriptions below. Specifying a dash
.Dq -
enables the option, while using a plus
.Dq +
-disables the option.
+disables the option. A
+.Dq --
+or plain
+.Dq -
+will stop option processing and will force the remaining
+words on the command line to be treated as arguments.
.Bl -tag -width Ds
.It Fl a Li allexport
Export all variables assigned to.
OpenPOWER on IntegriCloud