Mercurial > hg > octave-nkf > gnulib-hg
changeset 7590:6833a191803d
* lib/getopt_.h: Fix comments.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 01 Nov 2006 13:14:15 +0000 |
parents | 02044a74d4d9 |
children | b67189b54041 |
files | ChangeLog lib/getopt_.h |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/lib/getopt_.h +++ b/lib/getopt_.h @@ -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 @@ 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;