summaryrefslogtreecommitdiff
path: root/lib/long-options.c
AgeCommit message (Collapse)Author
2004-01-21(parse_long_options): Use prototype for usage function arg.Jim Meyering
Pass it EXIT_SUCCESS rather than 0, for clarity.
2003-10-18Include stdarg.h.Jim Meyering
(parse_long_options): Make this function variadic, too. Call version_etc_va, not version_etc.
2003-09-18revert previous changeJim Meyering
2003-09-18Include stdarg.h.Jim Meyering
(parse_long_options): Make this function variadic (authors), too. Call version_etc_va, not version_etc.
2003-09-10Include long-options.h first, to test interface.Jim Meyering
Include <stdlib.h> unconditionally.
2002-12-01comment tweakJim Meyering
2002-11-14Don't include libintl.h, and don't define `_' -- they're not used.Jim Meyering
2000-06-29Include <stdlib.h>, for declaration of exit.Jim Meyering
2000-05-08Don't include closeout.h.Jim Meyering
(parse_long_options): Don't call close_stdout for --version.
1999-03-26(parse_long_options): Remove version-, copyright-,Jim Meyering
and author-printing code. Do it via version_etc.
1999-03-07restore blank lines in --version outputJim Meyering
1999-03-07(parse_long_options): Include `Copyright...' line in --version output.Jim Meyering
1999-03-07(parse_long_options): Add the `...NO warranty...' message.Jim Meyering
1999-03-04(_): Define it.Jim Meyering
(parse_long_options): Accept new parameter, authors, and print it.
1999-01-14(parse_long_options): Rename `usage' parameterJim Meyering
to avoid shadowing globally scoped function.
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering
1998-01-04(parse_long_options): Check for write error to stdout before exiting.Jim Meyering
1997-02-03(parse_long_options): Compare getopt_long returnJim Meyering
value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter in getopt_long call.
1997-01-25(parse_long_options): Reset optind to zeroJim Meyering
before just returning so that getopt internals get initialized from the probably-new parameters when/if getopt is called later.
1996-10-04(parse_long_options): Separate package nameJim Meyering
and version number to accomodate new --version output requirement.
1996-07-15update FSF address in copyright and remove any trailing blanksJim Meyering
1995-05-26Remove trailing white space.Jim Meyering
1994-10-02Initial revisionJim Meyering