diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-03-16 16:58:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-03-16 16:58:27 +0000 |
commit | e6a2a620c0da77df721befa447eccb69df2002a5 (patch) | |
tree | 4dec7e3f19c06bd92bb6b1c31b7d51a5306d7add /usr.bin/getopt | |
parent | 2efb348aacc2c6fc859e4c151ff653a4dfd10cb9 (diff) |
improve markup quality in the cases found by the new "--" style message
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r-- | usr.bin/getopt/getopt.1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/getopt/getopt.1 b/usr.bin/getopt/getopt.1 index ca72056c05e..74cd0b459fa 100644 --- a/usr.bin/getopt/getopt.1 +++ b/usr.bin/getopt/getopt.1 @@ -1,9 +1,9 @@ -.\" $OpenBSD: getopt.1,v 1.18 2014/01/19 09:15:08 schwarze Exp $ +.\" $OpenBSD: getopt.1,v 1.19 2018/03/16 16:58:26 schwarze Exp $ .\" .\" This material, written by Henry Spencer, was released by him .\" into the public domain and is thus not subject to any copyright. .\" -.Dd $Mdocdate: January 19 2014 $ +.Dd $Mdocdate: March 16 2018 $ .Dt GETOPT 1 .Os .Sh NAME @@ -92,7 +92,9 @@ Written by Henry Spencer, working from a Bell Labs manual page. Behavior believed identical to the Bell version. .Sh CAVEATS Note that the construction -.Sy set -- `getopt optstring $*` +.Pp +.Dl set -- `getopt optstring $*` +.Pp is not recommended, as the exit value from .Sy set will prevent the exit value from |