diff options
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 06167cb7d6..82f74c2c1a 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
@@ -25,9 +25,9 @@ | |||
25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
26 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
27 | .\" | 27 | .\" |
28 | .\" $OpenBSD: getopt.3,v 1.40 2007/05/31 19:19:31 jmc Exp $ | 28 | .\" $OpenBSD: getopt.3,v 1.41 2009/04/12 23:13:36 okan Exp $ |
29 | .\" | 29 | .\" |
30 | .Dd $Mdocdate: May 31 2007 $ | 30 | .Dd $Mdocdate: April 12 2009 $ |
31 | .Dt GETOPT 3 | 31 | .Dt GETOPT 3 |
32 | .Os | 32 | .Os |
33 | .Sh NAME | 33 | .Sh NAME |
@@ -73,7 +73,9 @@ recognizes an option and argument | |||
73 | .Fl x Ar argument . | 73 | .Fl x Ar argument . |
74 | It does not matter to | 74 | It does not matter to |
75 | .Fn getopt | 75 | .Fn getopt |
76 | if a following argument has leading whitespace. | 76 | if a following argument has leading whitespace; except in the case where |
77 | the argument is optional, denoted with two colons, no leading whitespace | ||
78 | is permitted. | ||
77 | .Pp | 79 | .Pp |
78 | On return from | 80 | On return from |
79 | .Fn getopt , | 81 | .Fn getopt , |