* lib/getopt_.h: Fix comments.
authorEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 13:14:15 +0000 (13:14 +0000)
committerEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 13:14:15 +0000 (13:14 +0000)
ChangeLog
lib/getopt_.h

index cd1e95035b179e4201ed310f97de3cc47446db2f..6b0d29c8e413f82447bcef17c7f946c2b674637f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-01  Eric Blake  <ebb9@byu.net>
+
+       * lib/getopt_.h: Fix comments.
+
 2006-10-31  Eric Blake  <ebb9@byu.net>
 
        * modules/tmpdir (Depends-on): Add sys_stat.
index 3c406e53dc47157ce978688c068575d20d48bda8..27fce3dc799e0012f8033608cb1b8307bdb9d695 100644 (file)
@@ -1,5 +1,5 @@
 /* Declarations for getopt.
-   Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005
+   Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -196,9 +196,10 @@ struct option
    scanning, explicitly telling `getopt' that there are no more
    options.
 
-   If OPTS begins with `--', then non-option arguments are treated as
-   arguments to the option '\0'.  This behavior is specific to the GNU
-   `getopt'.  */
+   If OPTS begins with `-', then non-option arguments are treated as
+   arguments to the option '\1'.  This behavior is specific to the GNU
+   `getopt'.  If OPTS begins with `+', or POSIXLY_CORRECT is set in
+   the environment, then do not permute arguments.  */
 
 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
        __THROW;