diff options
author | solene <solene@cvs.openbsd.org> | 2018-11-30 08:55:58 +0000 |
---|---|---|
committer | solene <solene@cvs.openbsd.org> | 2018-11-30 08:55:58 +0000 |
commit | 66d2d26ef6eb9a6231fc8c5af24902b922570b04 (patch) | |
tree | fd8668352bfa02c8d11af6437247860516be299b /bin | |
parent | 8afcda0c5604153d1c697caea6dc247f65b42470 (diff) |
in getopts, when a option is followed by a colon the parameter is mandatory
ok guenther@ deraadt@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/sh.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index 4896f3fb911..76b09be882b 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sh.1,v 1.149 2018/09/28 18:32:39 millert Exp $ +.\" $OpenBSD: sh.1,v 1.150 2018/11/30 08:55:57 solene Exp $ .\" .\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 28 2018 $ +.Dd $Mdocdate: November 30 2018 $ .Dt SH 1 .Os .Sh NAME @@ -495,7 +495,7 @@ to the index of the next variable to be processed. The string .Ar optstring contains a list of acceptable options; -a colon following an option indicates it may take an argument. +a colon following an option indicates it requires an argument. If an option not recognised by .Ar optstring is found, |